Trace
Definition
A trace is a tree of spans sharing one trace id, where each span records an operation's name, start time, duration, attributes, status and parent span.
In practice
In a microservice system one slow dependency makes every caller look slow in its metrics. A trace shows where the time actually goes: sort spans by self time (duration minus time spent in children) and the span doing the work stands out, while long spans whose time is all inside a child are only waiting. The critical path is the chain of spans that sets end-to-end latency.
Traces break wherever context is not propagated, such as a queue, a thread pool or an uninstrumented library, leaving orphaned fragments. They are large, so they are usually sampled, which means they should not be used to count requests or compute rates; metrics do that. Link traces with logs through the trace id.
Example
A 1.2 s checkout trace has a root span POST /checkout and child spans for inventory (40 ms), pricing (1,050 ms, of which 1,000 ms is its own self time) and payment (90 ms), so pricing is the culprit.