Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Feb 28, 2025
1 parent 6dea04f commit 7796987
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sentry_sdk/integrations/opentelemetry/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def should_sample(
parent_sampled = get_parent_sampled(parent_span_context, trace_id)
parent_sample_rate = get_parent_sample_rate(parent_span_context, trace_id)
parent_sample_rand = get_parent_sample_rand(parent_span_context, trace_id)

if parent_sample_rand is not None:
sample_rand = parent_sample_rand
else:
Expand Down

0 comments on commit 7796987

Please sign in to comment.