Skip to content

feat(node): use ioredis tracing channels#21187

Open
logaretm wants to merge 3 commits into
developfrom
awad/ioredis-tracing-channels
Open

feat(node): use ioredis tracing channels#21187
logaretm wants to merge 3 commits into
developfrom
awad/ioredis-tracing-channels

Conversation

@logaretm
Copy link
Copy Markdown
Member

@logaretm logaretm commented May 27, 2026

ioredis 5.11 released tracing channels so we can start using them in the integration, I followed the same strategy we established with redis client by limiting the patching to older releases and subscribing anyways which will be inert except for newer releases.

I added similar tests as well to ensure both dc and non-dc paths still work.

This is not to be confused with the redis client, there is two of them, redis and ioredis, the latter being older but more popular.

Co-Authored-By: GPT-5 Codex <codex@openai.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 27, 2026

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 27.16 kB - -
@sentry/browser - with treeshaking flags 25.61 kB - -
@sentry/browser (incl. Tracing) 45.24 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 47.47 kB - -
@sentry/browser (incl. Tracing, Profiling) 50.22 kB - -
@sentry/browser (incl. Tracing, Replay) 84.82 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 74.39 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 89.52 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 102.15 kB - -
@sentry/browser (incl. Feedback) 44.33 kB - -
@sentry/browser (incl. sendFeedback) 31.98 kB - -
@sentry/browser (incl. FeedbackAsync) 37.07 kB - -
@sentry/browser (incl. Metrics) 28.24 kB - -
@sentry/browser (incl. Logs) 28.48 kB - -
@sentry/browser (incl. Metrics & Logs) 29.18 kB - -
@sentry/react 28.98 kB - -
@sentry/react (incl. Tracing) 47.51 kB - -
@sentry/vue 32.2 kB - -
@sentry/vue (incl. Tracing) 47.15 kB - -
@sentry/svelte 27.18 kB - -
CDN Bundle 29.54 kB - -
CDN Bundle (incl. Tracing) 47.8 kB - -
CDN Bundle (incl. Logs, Metrics) 31.04 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.04 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.3 kB - -
CDN Bundle (incl. Tracing, Replay) 85.18 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.34 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.05 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.21 kB - -
CDN Bundle - uncompressed 87.58 kB - -
CDN Bundle (incl. Tracing) - uncompressed 144.07 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 92.06 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 147.83 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 216.79 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 262.85 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 266.59 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 276.55 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 280.28 kB - -
@sentry/nextjs (client) 50.02 kB - -
@sentry/sveltekit (client) 45.67 kB - -
@sentry/core/server 75.93 kB - -
@sentry/core/browser 63.09 kB - -
@sentry/node-core 61.96 kB - -
@sentry/node 130.44 kB +0.04% +47 B 🔺
@sentry/node - without tracing 74.36 kB +0.01% +1 B 🔺
@sentry/aws-serverless 86.57 kB +0.01% +1 B 🔺
@sentry/cloudflare (withSentry) - minified 171.5 kB - -
@sentry/cloudflare (withSentry) 429.29 kB - -

View base workflow run

@logaretm logaretm marked this pull request as ready for review May 27, 2026 13:05
@logaretm logaretm requested a review from a team as a code owner May 27, 2026 13:05
@logaretm logaretm requested review from JPeer264, andreiborza and isaacs and removed request for a team May 27, 2026 13:05
Comment thread packages/node/src/integrations/tracing/redis/redis-dc-subscriber.ts Outdated
@JPeer264
Copy link
Copy Markdown
Member

I think we should wait for #21087 to be merged (or built upon it) as it got some refactorings as well.

cc @isaacs

Co-Authored-By: GPT-5 Codex <codex@openai.com>
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3f5a18b. Configure here.

Co-Authored-By: GPT-5 Codex <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants