summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-19 15:13:08 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-19 15:13:08 +0000
commitbc34ac53ec077ffb65d3db7009bf9a032846a93e (patch)
treefe29a254a3b9b961a30b6328117ef44817729b2a /synapse/federation
parentAdd a prometheus metric for active cache lookups. (#5750) (diff)
parentFix servlet metric names (#5734) (diff)
downloadsynapse-bc34ac53ec077ffb65d3db7009bf9a032846a93e.tar.xz
Fix servlet metric names (#5734)
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/transport/server.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 663264dec4..ea4e1b6d0f 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -325,7 +325,9 @@ class BaseFederationServlet(object):
             if code is None:
                 continue
 
-            server.register_paths(method, (pattern,), self._wrap(code))
+            server.register_paths(
+                method, (pattern,), self._wrap(code), self.__class__.__name__
+            )
 
 
 class FederationSendServlet(BaseFederationServlet):