We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfaa2b7 commit 1cbc87dCopy full SHA for 1cbc87d
exporter/opentelemetry-exporter-datadog/src/opentelemetry/exporter/datadog/propagator.py
@@ -99,7 +99,7 @@ def inject(
99
self.SAMPLING_PRIORITY_KEY,
100
str(constants.AUTO_KEEP if sampled else constants.AUTO_REJECT),
101
)
102
- if constants.DD_ORIGIN in span.context.trace_state:
+ if span.context.trace_state.get(constants.DD_ORIGIN):
103
set_in_carrier(
104
carrier,
105
self.ORIGIN_KEY,
0 commit comments