feat(tracing): Add convenience function update_current_span.#4673
Merged
antonpirker merged 3 commits intomasterfrom Aug 5, 2025
Merged
feat(tracing): Add convenience function update_current_span.#4673antonpirker merged 3 commits intomasterfrom
update_current_span.#4673antonpirker merged 3 commits intomasterfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4673 +/- ##
==========================================
+ Coverage 85.02% 85.07% +0.04%
==========================================
Files 156 156
Lines 15809 15824 +15
Branches 2671 2677 +6
==========================================
+ Hits 13442 13462 +20
+ Misses 1586 1583 -3
+ Partials 781 779 -2
|
update_current_span.update_current_span.
sl0thentr0py
approved these changes
Aug 5, 2025
MeredithAnya
added a commit
to getsentry/snuba
that referenced
this pull request
Aug 15, 2025
okay so I had to add a fix (getsentry/sentry-python#4688) to the earlier change (getsentry/sentry-python#4598) I made in the sentry-python sdk. so now I'm bumping the sentry-sdk to `2.35.0` to grab that fix. I added the `update_current_span ` convenience funtion that was also in this release getsentry/sentry-python#4673 **testing:** going to test this out in S4S first before moving on to de and us
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Manually setting data on spans for our insights modules can be made easier. This PR introduces a convenience function.
Right now users need to do some like this:
With this new convenience function a user can do: