From Dev.to
How to Set Up Node.js Error Tracking with Trace IDs for Observability
Short answer: set up Node.js error tracking by attaching one trace ID to each incoming request, carrying it through middleware and routes, and storing it in every error event and log entry; this is th...
