Skip to content

Commit

Permalink
add attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Nov 7, 2024
1 parent 5df9ccc commit 472ab5c
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 @@ -136,6 +136,7 @@ def should_sample(
},
"parent_sampled": get_parent_sampled(parent_span_context, trace_id),
}
sampling_context.update(attributes)
sample_rate = client.options["traces_sampler"](sampling_context)

else:
Expand Down

0 comments on commit 472ab5c

Please sign in to comment.