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