diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-19 15:13:08 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-19 15:13:08 +0000 |
commit | bc34ac53ec077ffb65d3db7009bf9a032846a93e (patch) | |
tree | fe29a254a3b9b961a30b6328117ef44817729b2a /synapse/federation | |
parent | Add a prometheus metric for active cache lookups. (#5750) (diff) | |
parent | Fix servlet metric names (#5734) (diff) | |
download | synapse-bc34ac53ec077ffb65d3db7009bf9a032846a93e.tar.xz |
Fix servlet metric names (#5734)
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/transport/server.py | 4 |
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): |