Pcornel
Browse topics
Options
Recent
Favorites
Observability · Technical reference

SLI, SLO & Error Budgets

Direct answer

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 %).

When to use this

Use it to define reliability targets and decide between features and reliability work.

First 30 seconds

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.

Operational verification

user requests → SLI → compared with SLO → error budget → decisions

Evidence · next step

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
Common mistakes
What not to infer

Observability owns SLI calculation, SLO measurement and burn-rate alerting. Product/service owners choose objectives; Evidence still applies to individual incident conclusions.

Platform / version applicability
OpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformOpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines · Observability owns SLI calculation, SLO measurement and burn-rate alerting. Product/service owners choose objectives; Evidence still applies to individual incident conclusions.
Scope / prerequisiteUse it to define reliability targets and decide between features and reliability work.
What next?3 suggested next steps
Child topics (this level)3
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

test · 1
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Measure at the user edge. Choose a few SLIs per service. Alert on error budget burn rate, not on every blip.

Key checks
  • sum(rate(http_requests_total{code!~"5.."}[30d])) / sum(rate(http_requests_total[30d])) — first check for this topic
  • curl -s localhost:9090/-/ready — Prometheus ready
  • curl -s 'localhost:9090/api/v1/query?query=up' — scrape targets up/down
  • promtool 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 stateAction
Plenty leftShip features, accept change risk
Burning fastBurn-rate alerts page the team
ExhaustedPrioritise 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
Technical examples

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Configuration example

Prometheus Prometheus 2.45 or later30-day availability SLO of 99.9% and its remaining error budget.

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

Prometheus Prometheus 2.45 or laterpromtool 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.
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-29 · vendor docOpenTelemetry / Prometheus / Grafana ecosystem Grafana SLO current documentation

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%
Technical changelog & impact

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.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
sli, slo & error budgetsSLI SLOerror budgetburn rate alert
Embedded reference data

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.

BoundaryInspectHealthy interpretationDo not infer
IntentService level indicatorsIntended object/scope is explicit and versioned where relevantIntent is already effective
Owning runtime/control planeService level objectives / Availability/latency/error-rate signalsOwner accepts and reports the expected object stateDownstream dependencies are healthy
Effective stateBurn rateIndependent read-back matches the intended stateEvery client sees the same result
Consumer outcomeError budget conceptsThe original bounded check succeeds in the same time windowProduction correctness outside this scope
Depth when you need it

Deep reference

Design & tradeoffs

Scope

Product/service owners choose objectives; Evidence still applies to individual incident conclusions.

Confirmation

Confirm action

Continue?