advanced
p99 doubled and nothing changed
The median is flat, p95 is flat, p99 is twice what it was, and there was no deploy.
The page
WARN · search-api · p99 latency 1,910 ms (baseline 940 ms) · p50 and p95 within normal range · no deploy in 9 days
Timeline — in the order it was observed
Observation order is not causal order. The first thing anyone noticed is rarely the first thing that happened.
- Mon 14:00A composite index is added to search-db as part of scheduled optimisation work. Query latency improves slightly.ddl audit log
- Thu 08:12p99 latency alert fires: 1,910 ms against a 940 ms baseline. p50 is 84 ms, unchanged.request_duration
- Thu 08:15No deploys in nine days. No config changes. No traffic anomaly. The obvious explanations are all unavailable.deploy markers
- Thu 08:20Suspicion falls on Monday's index, on the grounds that it is the only recorded change to anything.incident channel
- Thu 08:34Database metrics are flat: query latency, buffer hit ratio and lock waits are all unchanged since Monday.db metrics
- Thu 08:51p99 is split by instance. Thirty-eight instances read 890 ms; two read over 9,000 ms.request_duration by instance
- Thu 09:02The two slow instances share a hypervisor host. CPU steal time on that host is 22%; disk read latency is 40× the fleet median.host metrics
- Thu 09:18Both instances are drained and replaced. Fleet p99 returns to 910 ms within six minutes.request_duration
The system
Pull up evidence · 0/7 opened
Most of this evidence is consistent with several explanations. Keep going until something narrows it.
Tail Latency: Why p50 Being Fine Does Not HelpPercentiles: Which One, and How Many Users Is That?The Average Was Fine and Users Were NotWhat "CPU Is At 60%" Actually MeansDisk and Storage: Latency, Throughput, IOPS and the fsync TaxCorrelation Is Not the Root Cause"What Changed?" — Deploy Markers and the Invisible DeploysDashboards Built Around QuestionsDebugging an Incident in Progress