Before you start. You need traces arriving — see
Instrument your application or
zero-code instrumentation.
Finding the trace you want
You rarely browse traces. You arrive at one from something else:
Filter by service, operation, duration and status. Slowest first, errors
only is the filter that answers most questions.
Reading a waterfall
Each bar is a span; nesting is causality. Three things to read, in order:1
Total duration versus the widest child
If the root is 900ms and its widest child is 880ms, the time is in that
child — follow it down. If the root is 900ms and every child is small, the
time is in your service, between the calls.
2
Sequential versus parallel
Bars that step down one after another are sequential calls. Ten 50ms calls
in series is 500ms that could have been 50ms. This is the single most
common finding in a first trace review.
3
The failing span, not the failing trace
A trace marked failed shows the error at the root and at the actual source.
The deepest failing span is the cause; everything above it is propagation.
Spans, attributes and events
A span carries a name, a duration, a status, and attributes describing the operation —http.method, http.route, http.status_code, db.system. Events
are timestamped moments inside a span.
Span fields are queryable, and any name not in the promoted set falls through
to an attribute lookup — the same behaviour as
log search.
Traces with a hole in them
Logs for a span
A log line written while a span was active carries its trace id and is reachable from the trace.Metrics derived from traces
Request rate, error rate and duration per service are computed from spans, so instrumenting for traces gives you service-level metrics without extra work.Retention
Traces are kept for 30 days, like logs. Unlike metrics, there is no long-lived rollup — a trace is either inside the window or gone. If a specific trace matters for a post-incident review, capture it before it ages out.Next
Service map
The dependency graph these traces build.
Manual instrumentation
Add spans where auto-instrumentation cannot see.
Searching logs
The other half of an investigation.