-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Conversation
packages/node/package.json
Outdated
"@opentelemetry/instrumentation-redis": "0.39.0", | ||
"@opentelemetry/instrumentation-redis-4": "0.39.0", |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
size-limit report 📦
|
packages/node/package.json
Outdated
"@opentelemetry/instrumentation-redis": "0.39.0", | ||
"@opentelemetry/instrumentation-redis-4": "0.39.0", |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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>
ioredis
Integration for Node
integrations: [Sentry.experimental_redisIntegration()]