summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-07-03 10:53:02 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-14 17:42:18 +0100
commit048b10dd852d3899535558926d58ac43efaacf91 (patch)
treeb67538c558352c8211296ab058a105ff9d6633cc
parentRemove user_id tag (diff)
downloadsynapse-048b10dd852d3899535558926d58ac43efaacf91.tar.xz
Include servletname in incoming-request trace
-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 ea4e1b6d0f..3a80083d0a 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -297,6 +297,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: