Skip to main content

1. Environment

2. Install

3. Bootstrap file

Create tracelit-otel.cjs and start with:
The bootstrap must register both a trace exporter and a log exporter (OTLPLogExporter + BatchLogRecordProcessor). Traces-only setups will never pass the onboarding log check.

4. Log libraries

Most common for Express/Fastify.

Install

Wire

Add to your NodeSDK instrumentations:

Produce signals

5. Verify

Emit INFO and ERROR from a route, then confirm both in Tracelit.