Skip to content

feat(ioredis): Add integration for ioredis #11856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 2, 2024
Merged

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Apr 30, 2024

Integration for Node
integrations: [Sentry.experimental_redisIntegration()]

Comment on lines 74 to 75
"@opentelemetry/instrumentation-redis": "0.39.0",
"@opentelemetry/instrumentation-redis-4": "0.39.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

The packages are added, but not yet instrumented. Those are yet to be implemented in another PR.

Copy link
Member

Choose a reason for hiding this comment

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

let's not add them yet, let's just add them when we introduce the respective integration!

@s1gr1d s1gr1d requested review from mydea and lforst April 30, 2024 15:26
Copy link
Contributor

github-actions bot commented Apr 30, 2024

size-limit report 📦

Path Size
@sentry/browser 21.64 KB (0%)
@sentry/browser (incl. Tracing) 32.68 KB (0%)
@sentry/browser (incl. Tracing, Replay) 68.03 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.43 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 72.07 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) 84.27 KB (0%)
@sentry/browser (incl. Feedback) 37.83 KB (0%)
@sentry/browser (incl. sendFeedback) 26.43 KB (0%)
@sentry/browser (incl. FeedbackAsync) 30.96 KB (0%)
@sentry/react 24.33 KB (0%)
@sentry/react (incl. Tracing) 35.64 KB (+0.01% 🔺)
@sentry/vue 25.47 KB (0%)
@sentry/vue (incl. Tracing) 34.47 KB (0%)
@sentry/svelte 21.77 KB (0%)
CDN Bundle 24.02 KB (0%)
CDN Bundle (incl. Tracing) 34.05 KB (0%)
CDN Bundle (incl. Tracing, Replay) 67.72 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) 73.05 KB (0%)
CDN Bundle - uncompressed 70.62 KB (0%)
CDN Bundle (incl. Tracing) - uncompressed 100.98 KB (0%)
CDN Bundle (incl. Tracing, Replay) - uncompressed 210.59 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 224.22 KB (0%)
@sentry/nextjs (client) 34.86 KB (0%)
@sentry/sveltekit (client) 33.24 KB (0%)
@sentry/node 138.71 KB (+0.18% 🔺)

Comment on lines 74 to 75
"@opentelemetry/instrumentation-redis": "0.39.0",
"@opentelemetry/instrumentation-redis-4": "0.39.0",
Copy link
Member

Choose a reason for hiding this comment

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

let's not add them yet, let's just add them when we introduce the respective integration!

*
* Capture tracing data for redis and ioredis.
*/
export const experimental_redisIntegration = defineIntegration(_redisIntegration);
Copy link
Member

Choose a reason for hiding this comment

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

let's drop the experimental_ part, this is not any more or less experimental as our other integrations :D let's just ship this!

@@ -351,6 +351,7 @@ We now support the following integrations out of the box without extra configura
- `mongooseIntegration`: Automatically instruments Mongoose
- `mysqlIntegration`: Automatically instruments MySQL
- `mysql2Integration`: Automatically instruments MySQL2
- `redisIntegration`: Automatically instruments Redis (supported clients: ioredis)
Copy link
Member

Choose a reason for hiding this comment

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

👌

Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
@s1gr1d s1gr1d requested a review from mydea May 2, 2024 11:49
@mydea mydea changed the title feat(ioredis): Add experimental integration for 'ioredis' feat(ioredis): Add integration for 'ioredis' May 2, 2024
@mydea mydea changed the title feat(ioredis): Add integration for 'ioredis' feat(ioredis): Add integration for ioredis May 2, 2024
@s1gr1d s1gr1d merged commit ac59e7e into develop May 2, 2024
97 checks passed
@s1gr1d s1gr1d deleted the sig/redis-experimental branch May 2, 2024 12:08
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