# HG changeset patch # User Kim Alvefur # Date 1725648584 -7200 # Node ID 7fcae9da893468b7de9128f9ba48cb10e8c9273e # Parent 662dfff658a0eddaa0a05025272f2c27fbe02950 mod_csi: Use same label name for gauge as for older counter Consistency. diff -r 662dfff658a0 -r 7fcae9da8934 plugins/mod_csi.lua --- a/plugins/mod_csi.lua Fri Aug 30 18:16:01 2024 +0200 +++ b/plugins/mod_csi.lua Fri Sep 06 20:49:44 2024 +0200 @@ -3,7 +3,7 @@ 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