Software /
code /
prosody
Diff
plugins/mod_csi.lua @ 13521:7fcae9da8934
mod_csi: Use same label name for gauge as for older counter
Consistency.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 06 Sep 2024 20:49:44 +0200 |
parent | 13512:0b742bbbb819 |
child | 13522:ccd6199cc6a2 |
line wrap: on
line diff
--- 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