mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:36:02 -04:00
Use _ instead of . as a metric namespacing separator, for Prometheus
This commit is contained in:
parent
0b96bb793e
commit
b0cf867319
8 changed files with 34 additions and 18 deletions
|
@ -136,7 +136,7 @@ class PresenceHandler(BaseHandler):
|
|||
self._user_cachemap = {}
|
||||
self._user_cachemap_latest_serial = 0
|
||||
|
||||
metrics.register_callback("user_cachemap:size",
|
||||
metrics.register_callback("userCachemap:size",
|
||||
lambda: len(self._user_cachemap)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue