We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fcb60d commit b31a71eCopy full SHA for b31a71e
exporter/opentelemetry-exporter-datadog/src/opentelemetry/exporter/datadog/propagator.py
@@ -103,7 +103,7 @@ def inject(
103
self.SAMPLING_PRIORITY_KEY,
104
str(constants.AUTO_KEEP if sampled else constants.AUTO_REJECT),
105
)
106
- if constants.DD_ORIGIN in span.context.trace_state:
+ if span.context.trace_state.get(constants.DD_ORIGIN) is not None:
107
setter.set(
108
carrier,
109
self.ORIGIN_KEY,
0 commit comments