OpenTelemetry Sentry Instrumentation for Node.js

This module provides automatic instrumentation for the @sentry/node
module.
Compatible with OpenTelemetry JS API and SDK 1.0+
.
Installation
npm install --save @hyperdx/instrumentation-sentry-node
Supported Versions
Usage
const {
SentryNodeInstrumentation,
} = require('@hyperdx/instrumentation-sentry-node');
const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');
const { registerInstrumentations } = require('@opentelemetry/instrumentation');
const provider = new NodeTracerProvider();
provider.register();
registerInstrumentations({
instrumentations: [new SentryNodeInstrumentation()],
});
Useful links
License
Apache 2.0 - See LICENSE for more information.