Include servletname in incoming-request trace

This commit is contained in:
Jorik Schellekens 2019-07-03 10:53:02 +01:00
parent 21940cadf0
commit d94897e818

View file

@ -297,6 +297,7 @@ class BaseFederationServlet(object):
opentracing.tags.HTTP_URL: request.get_redacted_uri(), opentracing.tags.HTTP_URL: request.get_redacted_uri(),
opentracing.tags.PEER_HOST_IPV6: request.getClientIP(), opentracing.tags.PEER_HOST_IPV6: request.getClientIP(),
"authenticated_entity": origin, "authenticated_entity": origin,
"servlet_name": request.request_metrics.name,
}, },
): ):
if origin: if origin: