diff options
author | Kim Alvefur <zash@zash.se> | 2024-09-06 20:49:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-09-06 20:49:44 +0200 |
commit | 07d96d6b7563b1830832078c425e2ac731573a2b (patch) | |
tree | 9d4f37e1a964b405610d49e52d3520737747524f /plugins | |
parent | 84ca2bd960546e730cac0a7a4d7ca900e510e063 (diff) | |
download | prosody-07d96d6b7563b1830832078c425e2ac731573a2b.tar.gz prosody-07d96d6b7563b1830832078c425e2ac731573a2b.zip |
mod_csi: Use same label name for gauge as for older counter
Consistency.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_csi.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_csi.lua b/plugins/mod_csi.lua index 7a1857c0..73c081b1 100644 --- a/plugins/mod_csi.lua +++ b/plugins/mod_csi.lua @@ -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 |