diff options
author | reivilibre <oliverw@matrix.org> | 2022-09-08 14:01:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 15:01:42 +0100 |
commit | 526f84bc2ea78a44ef612bf79caf5cfb7966c1ed (patch) | |
tree | fd5cb95cb69db033d7e1e4110df252de4f026087 /synapse/app | |
parent | Fix latest deps (#13743) (diff) | |
download | synapse-526f84bc2ea78a44ef612bf79caf5cfb7966c1ed.tar.xz |
Fix Prometheus recording rules to not use legacy metric names. (#13718)
Diffstat (limited to 'synapse/app')
-rw-r--r-- | synapse/app/phone_stats_home.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/app/phone_stats_home.py b/synapse/app/phone_stats_home.py index 51c8d15711..53db1e85b3 100644 --- a/synapse/app/phone_stats_home.py +++ b/synapse/app/phone_stats_home.py @@ -32,15 +32,15 @@ logger = logging.getLogger("synapse.app.homeserver") _stats_process: List[Tuple[int, "resource.struct_rusage"]] = [] # Gauges to expose monthly active user control metrics -current_mau_gauge = Gauge("synapse_admin_mau:current", "Current MAU") +current_mau_gauge = Gauge("synapse_admin_mau_current", "Current MAU") current_mau_by_service_gauge = Gauge( "synapse_admin_mau_current_mau_by_service", "Current MAU by service", ["app_service"], ) -max_mau_gauge = Gauge("synapse_admin_mau:max", "MAU Limit") +max_mau_gauge = Gauge("synapse_admin_mau_max", "MAU Limit") registered_reserved_users_mau_gauge = Gauge( - "synapse_admin_mau:registered_reserved_users", + "synapse_admin_mau_registered_reserved_users", "Registered users with reserved threepids", ) |