Skip to content

The only tool you need to know what is happening and how to fix it.

227 B
Raw Blame
const { NodeSDK } = require('@opentelemetry/sdk-node');
const { getNodeAutoInstrumentations } = require('@opentelemetry/auto-instrumentations-node');

new NodeSDK({ instrumentations: [getNodeAutoInstrumentations()] }).start();