Repository navigation
feat(snuba): Add api.trace-view.cache-origin referrer - #126312
Merged
Merged
Conversation
vgrozdanic
approved these changes
Oct 2, 2026
s1gr1d
added a commit
that referenced
this pull request
Oct 6, 2026
…cycle section (#126442) Improves the "Cache filled" row in the span drawer: - Uses the new `api.trace-view.cache-origin` referrer (from #126312) - Shows a two-line skeleton while the origin span loads (avoids "jumping" of Button) - Skips the request and hides the button when the origin trace was not sampled or is older than span retention - On request errors, shows "Span preview unavailable" but keeps the button (404 often means the span is in another project, and the trace view can still find it there) - Makes `TraceItemResponseLink.sampled` optional, because it is Linear: https://linear.app/getsentry/issue/JSSDK-32/use-cache-referrer-in-frontend Linear: https://linear.app/getsentry/issue/JSSDK-35/handle-missing-cache-origin-spans-in-the-frontend
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.
Needed for "Trace Lifecycle" view that shows trace data of a linked span
Related: #126180
Linear: https://linear.app/getsentry/issue/JSSDK-30/snuba-register-referrer-for-cache-item-query