The on-call page
At 09:14 on Tuesday, Northstar Ledger's reporting API started paging the on-call. Customers use GET /reports to download their daily finance reports, and p99 rose from 34ms to 812ms. Error rate stayed at 0.2%, but 23% of report downloads timed out in the web app and the support queue received 146 complaints before lunch.
A report filter was added to the endpoint late Monday. The morning deploy was the first thing people blamed, although its release notes mention only response headers. The database is accepting connections, CPU is 41%, and the symptoms return after an API restart.
You have 45 minutes to reproduce the page, use the available query evidence, make the smallest safe fix, and verify the customer-facing number. Do not drop or rebuild the reports table.
Lab boundary
The API and a PostgreSQL table with 600,000 seeded reports are provided. The load generator simulates Tuesday's report traffic, and the container-sized table stands in for the larger production table. Index rollout safety and monitoring for a real migration belong in the write-up.