We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6f5b90 commit 2a58e32Copy full SHA for 2a58e32
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