investigating-tempo-latency-regressions
Investigates p50, p95, and p99 latency regressions in Grafana Tempo by comparing slow vs baseline trace cohorts, analyzing critical paths and merged-interval self-time hotspots, correlating async producer-consumer span links, and computing 5-axis structural trace diffs (tempo_compare_traces). Use when diagnosing slow endpoints, bimodal tail spikes, uniform latency shifts, N+1 database/RPC fan-out, async queue delays, or uninstrumented time gaps. Do not use for HTTP/gRPC error spikes (use triaging-tempo-service-errors), general TraceQL syntax authoring (use authoring-traceql-and-metrics-queries), service dependency topology/alerts (use mapping-tempo-topology-and-alerts), or OTel Collector tail-sampling configs (use tuning-sampling-and-trace-derived-metrics).
Pinned to revision b293ef8cf679, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/investigating-tempo-latency-regressions/SKILL.md
- skills/investigating-tempo-latency-regressions/references/latency-heuristics.md
- skills/investigating-tempo-latency-regressions/references/trace-diff-interpretation.md
- skills/investigating-tempo-latency-regressions/scripts/analyze_otlp_trace_critical_path.py
Every link opens the file at its source, pinned to the revision this page describes.