Load balancer monitoring
medium 30 minEvery request passes the load balancer, so it is the best place to see how the whole system feels from outside.
Where it shows up
The same pattern appears across everyday software.
CloudWatch and an application balancer
AWS sends metrics in 60-second intervals, with separate counts for errors of the balancer and of the targets, and the target response time as percentiles.
Prometheus with Envoy or HAProxy
The proxy offers a text page with its numbers. Prometheus reads it every few seconds, Grafana draws it, and an alert manager sends messages.
Server seven
One of twenty servers had a broken disk and answered in 3 seconds. The average moved by 150 ms only. P99 per server showed it in one look.
The certificate on a Sunday
It ran out because a renewal had failed for weeks. Since then days until expiry is a metric with a warning at 21 and a page at 7.
Everything green, nobody can log in
A login page answered 200 with an error text. A probe that logs in with a test user every minute now checks what users do, not only status codes.
Logs at half the price
A shop kept every line for a year. Now it keeps errors and slow requests for 90 days and 5% of the rest for two weeks, and loses nothing it had ever used.