summary refs log tree commit diff
path: root/synapse/metrics
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-09-08 14:01:42 +0000
committerGitHub <noreply@github.com>2022-09-08 15:01:42 +0100
commit526f84bc2ea78a44ef612bf79caf5cfb7966c1ed (patch)
treefd5cb95cb69db033d7e1e4110df252de4f026087 /synapse/metrics
parentFix latest deps (#13743) (diff)
downloadsynapse-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.py5
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",
 }