summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-07-03 10:53:02 +0100
committerJorik Schellekens <joriks@matrix.org>2019-07-17 14:33:00 +0100
commitd5b9c979431884c6779aa220bc0c3cdcf83f9a69 (patch)
tree0e92476358f8ba1b2e21bb24c20e24e7397a7126 /synapse
parentUpdate to new access pattern (diff)
downloadsynapse-d5b9c979431884c6779aa220bc0c3cdcf83f9a69.tar.xz
Include servletname in incoming-request trace
Diffstat (limited to 'synapse')
-rw-r--r--synapse/federation/transport/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index c45d458d94..a17aec7c4b 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -300,6 +300,7 @@ class BaseFederationServlet(object):
                     opentracing.tags.HTTP_URL: request.get_redacted_uri(),
                     opentracing.tags.PEER_HOST_IPV6: request.getClientIP(),
                     "authenticated_entity": origin,
+                    "servlet_name": request.request_metrics.name,
                 },
             ):
                 if origin: