mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 12:44:30 +03:00
Include servletname in incoming-request trace
This commit is contained in:
parent
21940cadf0
commit
d94897e818
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue