What is an exemplar?
IntermediateConceptObservability Fundamentals & Signals
Answer
An exemplar is a sample attached to a metric value carrying a trace ID, for example one specific slow request inside a latency histogram bucket. Grafana shows exemplars as dots on a latency panel; clicking one opens the trace in Tempo or Jaeger.
http_request_duration_seconds_bucket{le="0.5"} 1203 # {trace_id="4bf92f3577b34da6"} 0.43 1730000000.0
Prometheus stores exemplars when started with --enable-feature=exemplar-storage and they are scraped via OpenMetrics.
More on Observability Fundamentals & Signals
What is the difference between monitoring and observability?BeginnerWhat are the "three pillars" of observability, and what is the fourth signal people now add?BeginnerWhen would you reach for metrics, logs, traces or profiles during an incident?BeginnerWhat are the four Prometheus metric types?BeginnerWhy should you never use a gauge to count requests?BeginnerHistogram vs summary: what is the real difference, and which do you choose?Intermediate