Fix jaeger over federation

This commit is contained in:
Erik Johnston 2018-11-26 23:53:35 +00:00 committed by Brendan Abolivier
parent ec288b48fd
commit e7b70e272f

View file

@ -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
)