Tracing a Node.js + PostgreSQL service in 15 minutes

2025-04-05

Install the EchoTrail agent as an npm dev dependency, set ECHOTRAIL_ENDPOINT, and every express handler and pg.query call is automatically traced. The whole setup — including the EchoTrail binary — takes under 15 minutes.

The UI shows a flame graph per request, with colour-coded spans for HTTP, database, and cache layers. Hovering a span shows attributes: SQL query text, HTTP status, cache hit/miss.

← All posts