Skip to content

Commit

Permalink
Update opentelemetry-instrumentation/src/opentelemetry/instrumentatio…
Browse files Browse the repository at this point in the history
…n/propagators.py

Co-authored-by: Aaron Abbott <aaronabbott@google.com>
  • Loading branch information
owais and aabmass committed Apr 16, 2021
1 parent 77bce6f commit 880becc
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.

"""
This module implements experimental propagators to inject trace response context
into HTTP responses. This is useful for server side frameworks that start traces
This module implements experimental propagators to inject trace context
into response carriers. This is useful for server side frameworks that start traces
when server requests and want to share the trace context with the client so the
client can add it's spans to the same trace.
Expand Down Expand Up @@ -100,5 +100,7 @@ def inject(
),
)
setter.set(
carrier, _HTTP_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS, header_name,
carrier,
_HTTP_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS,
header_name,
)

0 comments on commit 880becc

Please sign in to comment.