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 5e286ed commit c459454Copy full SHA for c459454
sentry_sdk/integrations/opentelemetry/sampler.py
@@ -67,7 +67,8 @@ def get_parent_sample_rate(parent_context, trace_id):
67
return None
68
69
70
-def _update_sample_rate(sample_rate: float, trace_state: TraceState) -> TraceState:
+def _update_sample_rate(sample_rate, trace_state):
71
+ # type: (float, TraceState) -> TraceState
72
if TRACESTATE_SAMPLE_RATE_KEY in trace_state:
73
trace_state = trace_state.update(TRACESTATE_SAMPLE_RATE_KEY, str(sample_rate))
74
else:
0 commit comments