mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
mod_csi: Use same label name for gauge as for older counter
Consistency.
This commit is contained in:
parent
84ca2bd960
commit
07d96d6b75
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue