exemplar
A trace ID attached to one observation inside a histogram bucket, so a dashboard can jump from a slow bucket to an example request.
In more detail
Exemplars link the aggregate world of metrics to a concrete trace. During an incident you can click a spike in the slow bucket and open the trace of one request that landed there, then find its logs by the same trace ID.
Related terms
- histogram bucket — One counter inside a histogram that counts every observation at or below its upper boundary.
- trace ID — An identifier shared by every span and log line belonging to one request, so they can be found together.
- OpenMetrics — A standardised descendant of the Prometheus text format that is stricter about types and units, ends with an end-of-file marker, and adds exemplars.
- correlation — Linking evidence from different signals about the same event, for example from a metric spike to a trace to its log lines.
Taught in
- The Prometheus Exposition Format — Full-Stack Observability: Metrics, Tracing & Logging
- Bringing The Three Signals Together — Full-Stack Observability: Metrics, Tracing & Logging
- Observability Sprint: One Failed Checkout — Prometheus Certified Associate (PCA) Exam Prep