Title: Start Redis `cache` spans right away as cache spans · Issue #23832 · getsentry/sentry-javascript · GitHub
Open Graph Title: Start Redis `cache` spans right away as cache spans · Issue #23832 · getsentry/sentry-javascript
X Title: Start Redis `cache` spans right away as cache spans · Issue #23832 · getsentry/sentry-javascript
Description: Description 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...
Open Graph Description: Description 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...
X Description: Description 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...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/23832
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Start Redis `cache` spans right away as cache spans","articleBody":"### Description\n\nCurrently, 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.\n\nThis 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.\n\nIdeally, we could:\n- start the cache spans right away as `cache.*` spans and avoid as much post-start-processing as possible\n- retain the same user logic (`cachePrefixes`) to decide when a redis span should be started as cache\n\nIn a quick investigation, it seems like this is possible, but part of this issue is researching if my claim holds up :D ","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2026-09-01T12:13:09Z","url":"https://github.com/getsentry/sentry-javascript/issues/23832"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:48366e38-8b14-9cfb-fab4-4fbce7d75c6d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D66E:169A35:38924:4E100:6B043013 |
| html-safe-nonce | 2ecb231175880ee9fa847ca217295fb97d9c54dafda2da694b8f0235564967db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjZFOjE2OUEzNTozODkyNDo0RTEwMDo2QjA0MzAxMyIsInZpc2l0b3JfaWQiOiI2NDM3ODQxNzcxNTc2OTYzMDkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 725df29d872edc235d55685e9a0880d4ee75b6d1edfef57535e3b758121bdb42 |
| hovercard-subject-tag | issue:5311672614 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/23832/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8bbb36220b719e0cd148c8002587a615cd078236af378e4682bf8cb6e3b7b92/getsentry/sentry-javascript/issues/23832 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8bbb36220b719e0cd148c8002587a615cd078236af378e4682bf8cb6e3b7b92/getsentry/sentry-javascript/issues/23832 |
| og:image:alt | Description 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width