comparison mod_http_stats_stream/mod_http_stats_stream.lua @ 4595:bac3dae031ee

Add note of incompatibility with trunk since 5f15ab7c6ae5
author Kim Alvefur <zash@zash.se>
date Sat, 19 Jun 2021 12:55:14 +0200
parents 740870196b97
children
comparison
equal deleted inserted replaced
4594:1da63fe35ef3 4595:bac3dae031ee
1 module:set_global(); 1 module:set_global();
2 2
3 local statsman = require "core.statsmanager"; 3 local statsman = require "core.statsmanager";
4 local http = require "net.http.server"; 4 local http = require "net.http.server";
5 local json = require "util.json"; 5 local json = require "util.json";
6
7 assert(statsman.get_stats, "not compatible with trunk based on openmetrics");
6 8
7 local sessions = {}; 9 local sessions = {};
8 10
9 local function updates_client_closed(response) 11 local function updates_client_closed(response)
10 module:log("debug", "Streamstats client closed"); 12 module:log("debug", "Streamstats client closed");