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/metrics | |
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/metrics')
-rw-r--r-- | synapse/metrics/_legacy_exposition.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/metrics/_legacy_exposition.py b/synapse/metrics/_legacy_exposition.py index 6f00ff2a47..133f1603dd 100644 --- a/synapse/metrics/_legacy_exposition.py +++ b/synapse/metrics/_legacy_exposition.py @@ -93,6 +93,11 @@ LEGACY_METRIC_NAMES = { "synapse_util_caches_response_cache_hits": "synapse_util_caches_response_cache:hits", "synapse_util_caches_response_cache_evicted_size": "synapse_util_caches_response_cache:evicted_size", "synapse_util_caches_response_cache": "synapse_util_caches_response_cache:total", + "synapse_federation_client_sent_pdu_destinations": "synapse_federation_client_sent_pdu_destinations:total", + "synapse_federation_client_sent_pdu_destinations_count": "synapse_federation_client_sent_pdu_destinations:count", + "synapse_admin_mau_current": "synapse_admin_mau:current", + "synapse_admin_mau_max": "synapse_admin_mau:max", + "synapse_admin_mau_registered_reserved_users": "synapse_admin_mau:registered_reserved_users", } |