You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Start Redis cache spans right away as cache spans #23832
Currently, we start some redis spans as db.query spans and when we detect that they should be cache spans (driven by the used redis operation and user-provided cachePrefixes), we rename the span and adjust attributes.
This is a bit suboptimal for span streaming because users see their span as a cache.* span in the Sentry UI when in fact it was started as a db.query span by the SDK. This makes finding the right ignoreSpans filter very hard, given ignoreSpans is already applied at span start time.
Ideally, we could:
start the cache spans right away as cache.* spans and avoid as much post-start-processing as possible
retain the same user logic (cachePrefixes) to decide when a redis span should be started as cache
In a quick investigation, it seems like this is possible, but part of this issue is researching if my claim holds up :D
Activity
linear-code commentedon Sep 1, 2026
JS-3504
feat(server-utils)!: Start Redis spans as `cache` spans (#23933)
github-actions commentedon Sep 23, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #23933, which was included in the 11.0.0 release.