Skip to content

Commit a482084

Browse files
committed
.
1 parent b0e6d10 commit a482084

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sentry_sdk/integrations/opentelemetry/sampler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ def should_sample(
191191
parent_sampled = get_parent_sampled(parent_span_context, trace_id)
192192
parent_sample_rate = get_parent_sample_rate(parent_span_context, trace_id)
193193
parent_sample_rand = get_parent_sample_rand(parent_span_context, trace_id)
194+
194195
if parent_sample_rand is not None:
195196
sample_rand = parent_sample_rand
196197
else:

0 commit comments

Comments
 (0)