Video in progress
How do you introduce observability standards (SLOs, alerting) for a whole platform?
For each service I define the SLIs users actually see (the share of successful requests, latency percentiles) and the SLO targets. I put alerts on symptoms, not causes: on how fast the error budget is burning. I make the naming and tags of metrics, logs and traces mandatory through the platform starter.
📖 Answer
-
Standard signals, the same in every service, through the platform starter: HTTP requests, errors and a latency histogram (
http.server.requests); DB pool, external calls, Kafka lag; JVM heap, GC, threads; common tagsservice,env,region,version. -
SLIs and SLOs, based on what users notice:
- "99.9% of checkout requests succeed over 28 days";
- "95% of catalog responses are faster than 300 ms". Not for every endpoint, only for the most important user journeys.
-
Error budget. 99.9% means about 40 minutes of "bad" time in 28 days. When the budget runs out, the team works on stability instead of new features; this is an agreement between the team and the business.
-
Alerting. Burn rate alerts: if the budget burns 2% in 1 hour, page immediately; 5% in 6 hours, a ticket. Don't send cause alerts like "CPU 80%" to the pager: they're noisy and don't always affect users. Every alert should have a runbook link: what to check, what steps to take.
-
A dashboard template is created automatically for each new service.
-
Culture: a blameless review after an incident and the question "which signal should have shown this earlier?", then closing the gap you find.
How you know it's working: how many alerts required real action (noise should be low) and whether incidents were found before users noticed.
Sign up to mark studied questions and save your progress.