Definition
Metric correlation relates measurements to other telemetry using shared dimensions, time windows, and optionally exemplars.
Signals
Why use it
Investigate a latency spike by narrowing it to a service and representative requests.
Common use cases
- Compare latency with saturation.
- Investigate error-rate spikes.
- Navigate from metrics to traces.
Benefits
- Starts with inexpensive aggregate signals and adds request-level evidence.
Limitations
- Aggregation hides individual requests. An exemplar is a sample, not a complete account of the population.
Practical pattern
Align service and environment labels, compare equivalent windows, and use trace exemplars where the instrumentation and backend support them.
Worked example: Aggregate trend versus selected request
A latency histogram worsens for checkout in one environment. An exemplar opens one slow request, which supplies a candidate explanation rather than proving every request had the same problem.
What makes this concept different
Align the population and window before comparing signals; use selected requests to test explanations.
Supported by
Documented examples, not an exhaustive compatibility list. Features require suitable instrumentation and configuration; availability can depend on the runtime, backend, and subscription.
- Grafana with Prometheus and Tempo — Exemplars link selected metric observations to traces when enabled.
Related concepts
Investigation patterns
Related guides
- What is Observability?
- What is MTTR?
- Grafana: Metrics to Traces with Exemplars
- Deployments: Compare Error Rate by Version
- Troubleshoot: Exemplars Missing in Grafana
- Troubleshoot: Version Missing from Metrics
FAQ
Should trace IDs be metric labels?
No. Each trace creates a new value and excessive cardinality. Use exemplar metadata for selected trace references.