SLIs and SLOs
An SLI is a measured service behavior, such as successful eligible requests divided by all eligible requests. An SLO sets a target and evaluation window; define exclusions explicitly. For 995 successful eligible requests out of 1000, success SLI=99.5%. A 99.9% monthly SLO allows one bad request per thousand; the five failures consume five times that proportion in this small sample.
For 995 successful eligible requests out of 1000, success SLI=99.5%. A 99.9% monthly SLO allows one bad request per thousand; the five failures consume five times that proportion in this small sample.
An eligible event is a request included in the measurement; a good event meets the user-facing criterion; an error budget is the permitted amount of bad behavior over the SLO window. Suppose a service responds HTTP 200 while returning unusable data. Status-only availability counts it as good, so the SLI should reflect the actual contract where feasible. Decide how to handle client errors, maintenance and low-volume periods before calculating the ratio. For request-based objectives, budget consumption follows failed eligible requests, not necessarily elapsed minutes. A monthly target and a short incident alert answer different questions. Very strict objectives can demand costly redundancy and slow risky releases. Choose a target with stakeholder expectations and measured capability rather than treating a larger number as automatically better.
A 99.9% monthly SLO allows one bad request per thousand; the five failures consume five times that proportion in this small sample.
An SLO is a metric name without a target or evaluation window.