UNPKG

@sentry/node

Version:

Sentry Node SDK using OpenTelemetry for performance instrumentation

11 lines (9 loc) 380 B
const index = require('./sdk/index.js'); /** * The @sentry/node/init export can be used with the node --import and --require args to initialize the SDK entirely via * environment variables. * * > SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0 SENTRY_TRACES_SAMPLE_RATE=1.0 node --import=@sentry/node/init app.mjs */ index.init(); //# sourceMappingURL=init.js.map