trace
What is trace?
trace: The end-to-end story of one request as it crosses services, made of nested spans. Answers "where did the time go?". A trace follows one request on its whole journey through a system, from the browser through the web server, the database, the cache, a queue and any external services. It is made of nested spans, each showing one operation and how long it took.
Frequently asked questions about trace
How is trace used in practice?
It answers the question metrics and logs struggle with: where did the time go for this particular request? A trace view shows at a glance that a slow page spent 80 percent of its time on one database query or waiting for a payment API.
What should you keep in mind with trace?
Traces are most valuable in systems with several services, but even a single application benefits, since they show every query and external call for a request. OpenTelemetry is the standard way to produce them, with backends like Jaeger, Tempo or commercial tools to store and view them.
What does an example of trace look like?
trace_id=ab12 → [api 120ms] → [db 80ms] → [cache 5ms] At a glance
| Category | Observability |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |