The Care and Feeding of Monitoring
summary
Site outages turn out to be caused by two APIs on one box and a homegrown health checker that has no logging, so ELB health checks keep removing servers without telling why. Adding ELB access logs and logging inside the “healthy” service reveals one API is failing. Instrumenting middleware yields per-handler metrics that show 5–10 slow handlers whose minute-long timeouts block the site; reducing timeouts, optimizing queries, and deleting unused endpoints stops the regular blips.
AI-written summary · about
