@sophonz/instrumentation-node
v0.0.8
Published
Readme
@sophonz/instrumentation-node
OpenTelemetry instrumentation for Node.js runtime with Sentry integration support.
Part of the Sophonz OpenTelemetry suite.
Install
bun add @sophonz/instrumentation-node
# or
pnpm add @sophonz/instrumentation-node
# or
npm install @sophonz/instrumentation-nodeUsage
import { SentryNodeInstrumentation } from '@sophonz/instrumentation-node';
const instrumentation = new SentryNodeInstrumentation();
instrumentation.enable();
// Node.js runtime events are now instrumentedAPI
SentryNodeInstrumentation- Main instrumentation class extendingInstrumentationBasegetEventProcessor- Helper to retrieve the event processor for Sentry integration
Peer dependencies
@opentelemetry/api@opentelemetry/instrumentation@sentry/node
License
See LICENSE in this package.
Part of sophonz-js.
