mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 17:56:19 +03:00
Fix jaeger over federation
This commit is contained in:
parent
ec288b48fd
commit
e7b70e272f
1 changed files with 2 additions and 2 deletions
|
@ -257,8 +257,8 @@ class BaseFederationServlet(object):
|
|||
"""
|
||||
try:
|
||||
carrier = {}
|
||||
for key, value in six.iteritems(request.headers):
|
||||
carrier[key] = value
|
||||
for key, value in request.requestHeaders.getAllRawHeaders():
|
||||
carrier[key.decode("ascii")] = value[0].decode("ascii")
|
||||
parent_ctx = self.tracer.extract(
|
||||
format=opentracing.Format.HTTP_HEADERS, carrier=carrier
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue