SYNTHETIC INCIDENT
API latency and 5xx rate increased
LIKELY ROOT CAUSE
PostgreSQL connection exhaustion
Database pressure connects the worker restarts and upstream errors
EVIDENCE TIMELINE
PostgreSQL connections approach limit97 / 100 connections · capacity unavailable
checkout-api containers begin restarting2 restarts · health check timeout
Nginx upstream 502 responses increase5xx 6.8% · upstream prematurely closed connection
CORRELATED EXPLANATION
PostgreSQL connection exhaustion caused application workers to fail health checks and restart, producing upstream 502 errors.
Synthetic preview. Open the interactive demo to investigate a complete fictional incident.