Skip to content

Commit 6b0125c

Browse files
srprashjj22ee
andauthored
Add tracking issue for propagator config bug (#424)
Related issue in ADOT: #421 Opened issue in OTel Python: open-telemetry/opentelemetry-python#4679 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. Co-authored-by: Jonathan Lee <107072447+jj22ee@users.noreply.github.com>
1 parent bb604e0 commit 6b0125c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_distro.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def _configure(self, **kwargs):
7575
if os.environ.get(OTEL_PROPAGATORS, None) is None:
7676
# xray is set after baggage in case xray propagator depends on the result of the baggage header extraction.
7777
os.environ.setdefault(OTEL_PROPAGATORS, "baggage,xray,tracecontext")
78+
# Issue: https://github.com/open-telemetry/opentelemetry-python/issues/4679
7879
# We need to explicitly reload the opentelemetry.propagate module here
7980
# because this module initializes the default propagators when it loads very early in the chain.
8081
# Without reloading the OTEL_PROPAGATOR config from this distro won't take any effect.

0 commit comments

Comments
 (0)