Title: Consolidate redis channel integrations into one integration in @sentry/server-utils · Issue #22627 · getsentry/sentry-javascript · GitHub
Open Graph Title: Consolidate redis channel integrations into one integration in @sentry/server-utils · Issue #22627 · getsentry/sentry-javascript
X Title: Consolidate redis channel integrations into one integration in @sentry/server-utils · Issue #22627 · getsentry/sentry-javascript
Description: Problem Channel-based redis instrumentation is currently split across three integrations with distinct names: Integration name Mechanism Covers redisIntegration (server-utils native; node wraps it) Redis native diagnostics_channel ioredi...
Open Graph Description: Problem Channel-based redis instrumentation is currently split across three integrations with distinct names: Integration name Mechanism Covers redisIntegration (server-utils native; node wraps it)...
X Description: Problem Channel-based redis instrumentation is currently split across three integrations with distinct names: Integration name Mechanism Covers redisIntegration (server-utils native; node wraps it)...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/22627
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consolidate redis channel integrations into one integration in @sentry/server-utils","articleBody":"## Problem\n\nChannel-based redis instrumentation is currently split across three integrations with distinct names:\n\n\u003c!-- linear:table-colwidths:200,200,200,200 -->\n| Integration | name | Mechanism | Covers |\n| -- | -- | -- | -- |\n| `redisIntegration` (server-utils native; node wraps it) | `Redis` | native `diagnostics_channel` | ioredis >=5.11.0, node-redis >=5.12.0 (+ batches) |\n| `ioredisChannelIntegration` | `IORedis` | orchestrion injected channels | ioredis \u003c5.11.0 |\n| `redisChannelIntegration` | `RedisChannel` | orchestrion injected channels | redis v2-v3, node-redis v4/v5 \u003c5.12.0 (`@redis/client`) |\n\n`@sentry/node`'s default set spreads all three via `redisChannelIntegrations()`. Two consequences (flagged by Cursor Bugbot on #22501):\n\n1. **Disable-by-name is leaky:** removing only the `Redis` integration from defaults leaves `IORedis` + `RedisChannel` subscribers running, so redis tracing isn't fully turned off.\n2. **Single public export under-covers:** an app using `redisIntegration()` alone (e.g. with `defaultIntegrations: false`) gets only the native (`Redis`) coverage and silently loses spans for older `redis`/`ioredis` clients.\n\nCross-runtime angle: the two orchestrion integrations live in `@sentry/server-utils` (shared), but only node's default set wires all three. `@sentry/bun` imports just the native `redisIntegration`, so bun already has the older-client gap. Cloudflare ships no redis.\n\n## Proposal\n\nConsolidate into a single `redisIntegration` in `@sentry/server-utils` that internally registers the native diagnostics-channel subscriber plus both orchestrion subscribers (one `name: 'Redis'`). Then:\n\n* node's default set uses the single integration; drop `redisChannelIntegrations()`.\n* disabling `Redis` fully turns off redis tracing.\n* `redisIntegration()` alone covers all supported client versions.\n* bun (and future runtimes) get full coverage from the one integration for free.\n\nKeep the node cache `responseHook` wiring. The vendored OTel fallback is removed separately (getsentry/sentry-javascript#22346).\n\nFound by Cursor Bugbot on PR #22501 (2x Medium). Pre-existing to the channel-default rewire (the 3-way split predates it).","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-07-24T12:24:02Z","url":"https://github.com/getsentry/sentry-javascript/issues/22627"}
| 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:b10207aa-986d-179d-1632-20bdb50ce4c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC8A:21614F:10E6D5E:17E0D94:6B0452BE |
| html-safe-nonce | 49d78b6916eec156edecb29a05f8baa39d4a40e06d0747c47cd9eff93829ad37 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzhBOjIxNjE0RjoxMEU2RDVFOjE3RTBEOTQ6NkIwNDUyQkUiLCJ2aXNpdG9yX2lkIjoiMzA5MDc1NzI5MDg5OTU1OTEwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 017546b9bb58c6bcc0e80a6e1d3b1a484bf1c310edef737905e64c7da78470ee |
| hovercard-subject-tag | issue:4968381266 |
| 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/22627/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0241a19d45b4235101757ebf3526e79d3d9491bec8630383725b0b0acf6f6861/getsentry/sentry-javascript/issues/22627 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0241a19d45b4235101757ebf3526e79d3d9491bec8630383725b0b0acf6f6861/getsentry/sentry-javascript/issues/22627 |
| og:image:alt | Problem Channel-based redis instrumentation is currently split across three integrations with distinct names: Integration name Mechanism Covers redisIntegration (server-utils native; node wraps it)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| 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 | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| 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