Skip to content

Commit 0e15586

Browse files
committed
Enable inject for response headers.
1 parent a731c3c commit 0e15586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instana/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __call__(self, environ, start_response):
1919

2020
def new_start_response(status, headers, exc_info=None):
2121
"""Modified start response with additional headers."""
22-
# ot.global_tracer.inject(span.context, ot.Format.HTTP_HEADERS, headers)
22+
ot.global_tracer.inject(span.context, ot.Format.HTTP_HEADERS, headers)
2323
res = start_response(status, headers, exc_info)
2424
span.set_tag(ext.HTTP_STATUS_CODE, status.split(' ')[0])
2525
span.finish()

0 commit comments

Comments
 (0)