mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 16:44:56 -04:00
fixes
This commit is contained in:
parent
228f1f584e
commit
85ba83eb51
7 changed files with 52 additions and 24 deletions
|
@ -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),
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue