summary refs log tree commit diff
path: root/synapse/notifier.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-03-06 16:18:21 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-03-12 16:24:51 +0000
commitb0cf86731957876ca877c35bf30c6f695f1a544c (patch)
tree1ca688153c5214ad3e2bc7b6192699abf37abeca /synapse/notifier.py
parentHave all @metrics.counted use a single metric name vectored on the method nam... (diff)
downloadsynapse-b0cf86731957876ca877c35bf30c6f695f1a544c.tar.xz
Use _ instead of . as a metric namespacing separator, for Prometheus
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r--synapse/notifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 1f7cad624e..75e8152d03 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -122,7 +122,7 @@ class Notifier(object):
                 all_listeners |= x
 
             return len(all_listeners)
-        metrics.register_callback("all_listeners", count_listeners)
+        metrics.register_callback("listeners", count_listeners)
 
         metrics.register_callback("rooms",
             lambda: count(bool, self.room_to_listeners.values())