Use it to define reliability targets and decide between features and reliability work.
SLI, SLO & Error Budgets
An SLI measures service behaviour that users care about (e.g. share of successful requests); an SLO sets a target over a window (99.9 % over 30 days); the error budget is the allowed unreliability (0.1 %).
1. SLI query, e.g. sum(rate(http_requests_total{code!~"5.."}[30d])) / sum(rate(http_requests_total[30d])).
2. SLO target agreed with stakeholders.
3. Remaining error budget.
4. Burn-rate alerts configured.
5. Error budget policy agreed.
user requests → SLI → compared with SLO → error budget → decisions
Common failures are measuring infrastructure uptime instead of user outcomes, changing denominators silently, excluding failures through missing telemetry, using tiny windows for long SLOs and confusing contractual SLA penalties with internal SLO engineering targets. Preserve the first divergent observation and repeat the same bounded verification after remediation.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Observability owns SLI calculation, SLO measurement and burn-rate alerting. Product/service owners choose objectives; Evidence still applies to individual incident conclusions.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification workflow Verify boundary
Define the user-visible event population and good/bad criteria before calculating percentages. Verify numerator/denominator queries, exclusions and measurement window; compare short/long burn-rate windows for alerting and ensure telemetry gaps are handled explicitly.
Step 2 Failure signatures and limits Narrow the fault
Common failures are measuring infrastructure uptime instead of user outcomes, changing denominators silently, excluding failures through missing telemetry, using tiny windows for long SLOs and confusing contractual SLA penalties with internal SLO engineering targets.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
A service level indicator (SLI) is a measured ratio of good events to total events that reflects what users experience, such as successful requests under a latency threshold.
Subtopic Burn-Rate AlertsBurn-rate alerts fire when the error budget is being used faster than planned, using a long and a short window to be both fast and reliable.
Subtopic Error Budget PolicyAn error budget policy says what the team does when the budget is used up, for example pausing feature releases to work on reliability.
Measure at the user edge. Choose a few SLIs per service. Alert on error budget burn rate, not on every blip.
sum(rate(http_requests_total{code!~"5.."}[30d])) / sum(rate(http_requests_total[30d]))— 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
ReferenceWhat it is1 section · depth on demand
Operating model
SLI/SLO practice turns telemetry into explicit reliability targets. An SLI is the measured signal, an SLO is the target over a defined window, and the error budget is the allowed unreliability. Burn rate describes how quickly that budget is being consumed relative to the window.
ReferenceHow it works1 section · depth on demand
Worked example
SLIs, SLOs and error budgets define reliability in terms users care about. A Service Level Indicator (SLI) measures behaviour, a Service Level Objective (SLO) sets the target, and the error budget is the allowed amount of unreliability.
Worked example: SLI = share of HTTP requests answered successfully within 300 ms. SLO = 99.9% over 30 days. Error budget = 0.1% of requests — about 43 minutes of full outage-equivalent per 30 days.
| Error budget state | Action |
|---|---|
| Plenty left | Ship features, accept change risk |
| Burning fast | Burn-rate alerts page the team |
| Exhausted | Prioritise reliability work; slow risky changes |
Multi-window burn-rate alerts (e.g. 2% of the monthly budget consumed in 1 hour) catch both fast outages and slow degradation with few false alarms. Choose SLOs based on what users need, not on what the system currently achieves.
ReferenceImportant terms & boundaries1 section · depth on demand
Scope map
- Service level indicators
- Service level objectives
- Availability/latency/error-rate signals
- Burn rate
- Error budget concepts
- Measurement-window boundaries
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Configuration & expected output
Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.
Configuration example
Assumptions: Counter http_requests_total with a code label.
# SLI: share of non-5xx requests over 30 days
sum(rate(http_requests_total{job="checkout",code!~"5.."}[30d]))
/
sum(rate(http_requests_total{job="checkout"}[30d]))
# error budget remaining (1 = full, 0 = spent)
1 - ((1 - <SLI>) / (1 - 0.999))Expected output
promtool query instant http://prometheus:9090 'sum(rate(http_requests_total{job="checkout",code!~"5.."}[30d])) / sum(rate(http_requests_total{job="checkout"}[30d]))'Expected state: The SLI is above the 0.999 target.
{} => 0.99962 @[1761379200]At 0.99962 the service has used 38% of its error budget (0.00038 of 0.001). Burn-rate alerts on short windows catch fast budget loss earlier. Illustrative authored output: field layout matches the tool, values will differ in your environment.Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Documentation verification: confirms the upstream model used by the Topic. It does not assert local production behavior.
Basis: https://grafana.com/docs/plugins/grafana-slo-app/latest/introduction/ · confidence 92%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
SLI, SLO & Error Budgets verification boundary matrix
A compact lookup separating intent, owning component state, effective state and consumer-visible outcome for SLI, SLO & Error Budgets.
| Boundary | Inspect | Healthy interpretation | Do not infer |
|---|---|---|---|
| Intent | Service level indicators | Intended object/scope is explicit and versioned where relevant | Intent is already effective |
| Owning runtime/control plane | Service level objectives / Availability/latency/error-rate signals | Owner accepts and reports the expected object state | Downstream dependencies are healthy |
| Effective state | Burn rate | Independent read-back matches the intended state | Every client sees the same result |
| Consumer outcome | Error budget concepts | The original bounded check succeeds in the same time window | Production correctness outside this scope |
Deep reference
Design & tradeoffs
Scope
Product/service owners choose objectives; Evidence still applies to individual incident conclusions.