mod_csi: Use same label name for gauge as for older counter

Consistency.
This commit is contained in:
Kim Alvefur 2024-09-06 20:49:44 +02:00
parent 84ca2bd960
commit 07d96d6b75

View file

@ -3,7 +3,7 @@ local xmlns_csi = "urn:xmpp:csi:0";
local csi_feature = st.stanza("csi", { xmlns = xmlns_csi });
local change = module:metric("counter", "changes", "events", "CSI state changes", {"csi_state"});
local count = module:metric("gauge", "state", "sessions", "", { "state" });
local count = module:metric("gauge", "state", "sessions", "", { "csi_state" });
module:hook("stream-features", function (event)
if event.origin.username then