We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0064118 commit 0f56682Copy full SHA for 0f56682
sentry_sdk/integrations/opentelemetry/scope.py
@@ -123,7 +123,7 @@ def _incoming_otel_span_context(self):
123
# for twp to work, we also need to consider deferred sampling when the sampling
124
# flag is not present, so the above TraceFlags are not sufficient
125
if self._propagation_context.parent_sampled is None:
126
- trace_state = trace_state.add(TRACESTATE_SAMPLED_KEY, "deferred")
+ trace_state = trace_state.update(TRACESTATE_SAMPLED_KEY, "deferred")
127
128
span_context = SpanContext(
129
trace_id=int(self._propagation_context.trace_id, 16),
0 commit comments