Skip to content

Add amqplibIntegration to Node #13312

Closed
@mydea

Description

@mydea

Description

We want to instrument amqplib. There is an existing OTEL instrumentation for this:

https://www.npmjs.com/package/@opentelemetry/instrumentation-amqplib

### Tasks
- [ ] Add new `amqplibIntegration` in `@sentry/node`
- [ ] This should set up the OTEL instrumentation
- [ ] Make sure to add an `origin` to all spans the integration emits
- [ ] Add node-integration-tests for the package
- [ ] The integration should be added by default

This is a queue integration, and thus must follow https://develop.sentry.dev/sdk/telemetry/traces/modules/queues/. You can see https://docs.sentry.io/platforms/javascript/guides/node/tracing/instrumentation/custom-instrumentation/queues-module/ for a reference.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions