diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-05-22 16:28:23 -0500 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2018-05-22 16:28:23 -0500 |
commit | 85ba83eb5100abf02cf373d9a8d5010526facd45 (patch) | |
tree | e896a3ee04b5dbe59c07ba72293278795e0490b8 /synapse/notifier.py | |
parent | fix the test failures (diff) | |
download | synapse-85ba83eb5100abf02cf373d9a8d5010526facd45.tar.xz |
fixes
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r-- | synapse/notifier.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index 123e6f1840..40cc553918 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -194,14 +194,14 @@ class Notifier(object): all_user_streams.add(x) return sum(stream.count_listeners() for stream in all_user_streams) - LaterGauge("listeners", "", [], count_listeners) + LaterGauge("synapse_notifier_listeners", "", [], count_listeners) LaterGauge( - "rooms", "", [], + "synapse_notifier_rooms", "", [], lambda: count(bool, self.room_to_user_streams.values()), ) LaterGauge( - "users", "", [], + "synapse_notifier_users", "", [], lambda: len(self.user_to_user_stream), ) |