INC-999SEV-2
Final Incident Challenge
Checkout latency is up and some checkouts fail. Every dependency looks healthy.
Symptom
Checkout latency has increased. Some checkouts fail with HTTP 502. Payment looks healthy. Inventory looks healthy. Database query times look normal. Nobody deployed anything. Find the root cause.
Run the incident
Runs on your machine
Running an incident reads real telemetry from the lab running on your computer: traces from Tempo, metrics from Prometheus and logs from Loki. This public page has no lab behind it, and it will not show invented numbers in their place.
git clone https://github.com/jars-demo/otel-demo.git cd otel-demo docker compose up -d --build --wait
Then open http://localhost:3400: the same site, with every live view connected. New here? Start with Chapter 01.
Investigate
Which services are degraded? Which are healthy?
Payment, inventory and the database are healthy. So where could order-service be spending its time?
Open a checkout trace slower than 1000 ms and read the order-service spans carefully.
Where is the gap? What does order-service do at the start of a checkout, before its first child span?
Look at the connection pool metrics for order-service.
What do the failed checkouts say?
What is the root cause?
The full write-up appears once you have answered.