Observability · SLI, SLO & Error Budgets
Error Budget Policy
Cheat sheet · https://pcornel.dk/topic.php?topic=6227
Answer
An error budget policy states what happens when the budget is spent — e.g. freeze risky releases and prioritise reliability work until the SLO recovers.
Remember
Agree the policy with product and engineering in advance. Include exceptions (security fixes) and who decides.
First checks
1 - ((1 - sli_30d) / (1 - 0.999))— first check for this topiccurl -s localhost:9090/-/ready— Prometheus readycurl -s 'localhost:9090/api/v1/query?query=up'— scrape targets up/downpromtool check config prometheus.yml— config valid
Verify in this order
budget consumed → policy threshold → agreed action
Where it usually breaks
An SLO set at 100% leaves no budget and blocks all change.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6227