Skip to content

Commit

Permalink
Do not force xray propagator, default adds W3C+B3 (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanielRN authored Oct 7, 2021
1 parent 1e24a78 commit 1af5f80
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions adot/python/src/otel/otel_sdk/otel-instrument
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ environ["OTEL_RESOURCE_ATTRIBUTES"] = "%s,%s" % (
# xray propagator
configured_propagators = environ.get("OTEL_PROPAGATORS")
if not configured_propagators:
environ["OTEL_PROPAGATORS"] = "xray"
elif "aws_xray" not in configured_propagators.split(","):
environ["OTEL_PROPAGATORS"] = ",".join([configured_propagators, "xray"])
environ["OTEL_PROPAGATORS"] = "tracecontext,b3,xray"

# start the runtime with the extra options
system(" ".join(args))

0 comments on commit 1af5f80

Please sign in to comment.