Skip to content

Commit 6447932

Browse files
committed
fix
1 parent d8685b0 commit 6447932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/opentelemetry/sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def should_sample(
195195
sample_rand = parent_sample_rand
196196
else:
197197
lower, upper = _sample_rand_range(parent_sampled, parent_sample_rate)
198-
sample_rand = _generate_sample_rand(lower, upper)
198+
sample_rand = _generate_sample_rand(trace_id, (lower, upper))
199199

200200
# Explicit sampled value provided at start_span
201201
custom_sampled = cast(

0 commit comments

Comments
 (0)