Makes use of zero-code instrumentation using --import @opentelemetry/auto-instrumentations-node/register.
Code-based auto-instrumentation is available in src/instrumentation.ts and can be enabled by modifying the start command in package.json.
- Node.js 20 or higher preferred
npm installexport OTEL_LOG_LEVEL=debugexport OTEL_TRACES_EXPORTER=consoleexport OTEL_METRICS_EXPORTER=noneexport OTEL_LOGS_EXPORTER=nonenpm run start