SRE Explained: SLIs, SLOs & Error Budgets

SRE Explained: SLIs, SLOs & Error Budgets

Site reliability engineering (SRE) makes reliability measurable. A service level indicator (SLI) measures what users experience, a service level objective (SLO) sets the target, and an error budget defines how much failure is acceptable. Together, they help product and engineering teams balance dependable services with the pace of change.

What is site reliability engineering (SRE)?

Site reliability engineering applies software engineering principles to operating reliable production systems. Developed at Google under Ben Treynor Sloss in 2003, SRE uses automation, measurable reliability targets and incident learning to improve services without unnecessarily slowing development.

Its central practices include defining SLOs, managing error budgets, eliminating repetitive operational work and learning from incidents through blameless postmortems.

Google has traditionally aimed to keep operational work below 50% of an SRE’s time, preserving capacity for engineering improvements. This is Google’s operating principle, not a universal requirement for SRE teams.

SRE also provides a practical way to resolve the tension between development and operations. Instead of debating whether a service is “reliable enough”, teams can make decisions using agreed measurements.

SRE and DevOps are complementary. DevOps emphasises collaboration and shared ownership, while SRE provides specific engineering methods for managing reliability.

SLI vs SLO vs SLA: What is the difference?

An SLI measures service behaviour, an SLO defines the desired result, and a service level agreement (SLA) establishes contractual commitments. Together, they connect technical reliability with business expectations.

TermWhat it meansExampleWhat happens if it is missed?
SLIMeasured service performancePercentage of valid checkout requests completed within 300 msIndicates actual service performance
SLOService-level performance target measured by an SLI 99.9% of eligible checkout requests meet the SLI over 30 days May trigger actions under an agreed reliability policy 
SLAAgreement defining service commitments and consequences 99.5% of eligible checkout requests meet the same SLI over 30 days May trigger contractual remedies or service credits 

An organisation may set an internal SLO that is more demanding than its contractual SLA to provide an operational safety margin. For example, an internal target of 99.9% can help protect a 99.5% contractual commitment when both measure the same service behaviour over comparable periods. However, SLOs are not inherently internal and may also be communicated externally..

Where do KPIs fit?

Key performance indicators (KPIs) measure broader business outcomes, such as revenue, conversion or customer retention.

SLOs measure the technical conditions that support those outcomes.

For an e-commerce business, checkout conversion is a KPI. Checkout availability and latency SLOs help the engineering team manage technical factors that can affect it.

How to define good SLIs

A useful service level indicator measures performance from the user’s perspective, ideally across a critical user journey. For request-driven services, a common approach is to calculate the proportion of valid events that meet a defined success condition.

SLI = (Good events / Valid events) × 100%

Consider a checkout API processing one million valid requests.

If 997,000 requests complete successfully within 300 milliseconds, the SLI is:

SLI = (997,000 / 1,000,000) × 100% = 99.7%

The definition of a good event matters as much as the formula.

Teams should specify whether success requires an acceptable HTTP response, a completed business transaction, a latency threshold or a combination of conditions.

The denominator also needs clear rules. Client-caused errors, load tests and other traffic may be excluded when justified by the SLI specification, but exclusions should not hide genuine user impact.

SLI examples by service type

Service typeUseful SLIExample measurement
Web application or APIAvailability and latencyPercentage of valid requests completed successfully within 300 ms
Data pipelineData freshness Percentage of source records available in the destination within 15 minutes of creation 
Storage serviceRead availability Percentage of valid read operations completed successfully 
Batch processingCompletion timePercentage of scheduled jobs completed before 06:00

The measurement source also matters.

Server-side metrics are efficient, but they may miss problems occurring in the browser or network. Real user monitoring (RUM) captures performance during actual user sessions, providing direct evidence of user experience. Synthetic monitoring simulates predefined user journeys from controlled locations or agents, offering a useful proxy for user experience rather than measuring real user sessions directly.

Why averages can hide reliability problems

Average latency is often insufficient for understanding customer experience.

Imagine an API with an average response time of 120 milliseconds but a 99th-percentile latency (p99) of 2.4 seconds.

Most requests may be fast, while a smaller group of users experiences unacceptable delays.

Percentiles such as p95 and p99 help reveal this tail behaviour. For SLO calculations, the percentage of requests meeting a defined latency threshold is often particularly useful because it connects directly to an error budget.

How to set realistic SLO targets

SLO targets should primarily reflect what users need and what the business considers an acceptable level of reliability. Historical telemetry helps teams understand current performance and assess whether a proposed target is realistic, but it should not determine the objective on its own. Product and engineering teams should agree on the target and review it as user expectations and business priorities evolve.

For many services, two or three meaningful SLOs are more useful than dozens of technical objectives.

The measurement period must also be explicit.

A rolling window, such as 28 or 30 days, provides continuous feedback and prevents an incident from disappearing from the measurement simply because a calendar month ends.

A calendar window may be appropriate when aligning reporting with an SLA.

Why 100% is usually the wrong target

A 100% SLO allows no measured failures.

For most software services, achieving that target indefinitely would require disproportionate engineering effort and severely limit tolerance for operational risk.

Google’s SRE guidance recommends choosing reliability levels that reflect what users need, rather than assuming that maximum possible availability is always the right objective.

Extremely high reliability may be justified for specific critical functions. It should still follow an explicit business and risk assessment.

Dependencies and composite SLOs

A service may depend on several components, each with its own availability target.

If three independent components are all required for a request to succeed and each has 99.9% availability, their combined availability is approximately:

0.999 × 0.999 × 0.999 = 99.7%

This is an illustrative calculation based on independence and serial dependency assumptions.

Actual reliability depends on failure correlation, redundancy, caching, fallback behaviour and architecture.

Enterprise teams should therefore evaluate critical cloud and SaaS dependencies when selecting end-to-end SLO targets. A provider’s SLA does not automatically guarantee the same reliability for the complete user journey.

Error budgets: How to calculate and use them

An error budget is the permitted amount of unreliability within an SLO measurement window. It provides a common basis for deciding whether teams can continue introducing changes or should prioritise reliability improvements.

Error budget = 1 – SLO target

For a 99.9% SLO:

Error budget = 1 – 0.999 = 0.001 = 0.1%

The calculation depends on the SLI.

Request-based error budget

Allowed bad requests = Valid requests × (1 – SLO target)

For ten million valid requests and a 99.9% SLO:

10,000,000 × 0.001 = 10,000 allowed bad requests

If the service records 6,000 bad requests, it has consumed:

Budget consumption = 6,000 / 10,000 × 100% = 60%

The team has used 60% of its available error budget.

Time-based error budget

Allowed unavailable time = Measurement period × (1 – SLO target)

For a 30-day period at 99.9% availability:

43,200 minutes × 0.001 = 43.2 minutes

Both models are valid, but they measure different things.

A partially degraded service may violate a request-based SLO without being fully unavailable. Teams should choose the model that best reflects customer impact.

What should teams use the error budget for?

An error budget creates room for controlled change.

Deployments, migrations, configuration updates and experiments introduce risk. When those activities cause measured failures, they consume the budget.

Planned maintenance may also consume the budget if it affects users within the SLI’s defined scope.

The error budget is not permission to cause avoidable incidents. It is a mechanism for making the trade-off between reliability and delivery speed explicit.

The error budget policy: What happens when the budget runs out?

An error budget policy defines how product and engineering teams respond when a service approaches or exceeds its permitted failure allowance. The policy should be agreed before an incident, with clear owners, escalation paths and rules for release decisions.

Google’s published example policy provides a useful reference.

It states that when a service exceeds its error budget over the preceding four-week window, changes and releases are halted except for the highest-priority issues and security fixes until the service returns within its SLO.

Google also requires a postmortem when a single incident consumes more than 20% of the four-week error budget.

These are examples of Google’s policy, not mandatory industry requirements.

The purpose is to give engineering teams permission to prioritise reliability when the evidence shows that reliability needs attention.

An error budget policy template for enterprise teams

The following graduated policy is an illustrative starting point, not a Google standard.

Budget consumedRecommended actionDecision owner
Below 50%Continue planned releases and normal monitoringProduct and engineering teams
50-75%Review release risk and prioritise reliability defectsEngineering lead
75-100%Limit high-risk changes and strengthen rollout safeguardsEngineering lead and product owner
Over 100%Pause non-essential feature releases, investigate causes and prioritise recoveryAgreed service owners, with escalation when needed

The policy should also document:

  • The services, SLIs, SLOs and measurement windows covered.
  • Who owns the budget and approves exceptions.
  • Which changes remain permissible during a release pause.
  • When a postmortem and corrective action are required.
  • Who resolves disagreements between product and engineering.
  • When the policy will be reviewed.

A release pause should be proportionate to the risk.

For example, a security fix or a change that directly restores reliability may still be justified when the budget is exhausted.

An effective policy is not a punishment for the team. It is a pre-agreed method for protecting customers and resolving competing priorities.

Alerting on SLOs with burn rates

Burn-rate alerting measures how quickly a service is consuming its error budget relative to the SLO period. It helps teams distinguish incidents requiring immediate attention from slower reliability deterioration.

Burn rate = Observed bad-event ratio / Allowed bad-event ratio

For a 99.9% SLO, the permitted bad-event ratio is 0.1%.

If the observed bad-event ratio is 1.44%, the burn rate is:

1.44% / 0.1% = 14.4×

A burn rate of 1 means the service is consuming its error budget at a rate that would exhaust it over the full measurement period.

Google’s SRE Workbook recommends multi-window, multi-burn-rate alerting. For a 99.9% SLO over 30 days, its example uses:

Burn rateLong windowShort windowApproximate budget consumed over the long windowAction
14.4×1 hour5 minutes2%Page
6×6 hours30 minutes5%Page
1×3 days6 hours10%Ticket

The alert checks both windows against the same burn-rate threshold.

The longer window establishes sustained impact, while the shorter window helps determine whether the problem is still occurring.

This reduces unnecessary notifications after a service recovers.

The thresholds are starting points, not universal settings. Low-traffic services and systems with unusual failure patterns may need different alerting strategies.

Every page should also have an owner and a runbook. Burn-rate alerts are most valuable when they support a clear incident-response process rather than adding another set of notifications.

SLO tooling and SLOs as code

SLOs can be managed through open-source components or commercial observability platforms. The important requirement is that service objectives remain versioned, measurable and understandable to both engineering and product stakeholders.

ApproachToolsTypical use
Open-source monitoringPrometheus, Sloth, Pyrra, GrafanaSLI calculations, error budgets and alert generation
Declarative specificationOpenSLODefining SLOs in a portable YAML format
Commercial platformsDatadog, New Relic, Dynatrace, Nobl9Managed SLO monitoring and reporting

For example, Datadog supports metric-based, monitor-based and time-slice SLOs. The appropriate type depends on how service health is measured.

Sloth can generate Prometheus recording rules and burn-rate alerts from SLO definitions, reducing repeated manual configuration.

With SLOs as code, teams can review changes through pull requests, track ownership and maintain consistent service definitions.

An internal developer platform can also provide default SLO templates when developers create new services. These defaults still require review against the actual business importance of each application.

SLOs, SLAs and EU operational resilience: DORA and NIS2

For regulated European organisations, SLOs can support operational resilience by making service reliability measurable and providing evidence for incident management and supplier oversight. They do not establish regulatory compliance automatically.

The Digital Operational Resilience Act (DORA), Regulation (EU) 2022/2554, has applied to relevant financial entities since 17 January 2025.

Article 30 addresses contractual arrangements with ICT third-party service providers. For services supporting critical or important functions, Article 30(3)(a) requires full service-level descriptions with precise quantitative and qualitative performance targets.

Internal SLOs can help financial entities define, monitor and assess such targets, provided the measurements are aligned with the relevant contractual commitments.

The NIS2 Directive, Directive (EU) 2022/2555, establishes cybersecurity risk-management requirements for organisations within its scope.

Article 21 includes incident handling and business continuity among the required areas of risk management.

SLOs and burn-rate alerts can support early detection of service degradation, while monitoring records and incident timelines provide evidence for operational investigation.

However, SLOs should not be confused with recovery time objectives (RTOs) or recovery point objectives (RPOs).

  • SLO: Measures acceptable service performance over a defined period.
  • RTO: Specifies a recovery-time target following disruption.
  • RPO: Specifies an acceptable data-loss window.

These measures complement one another but are not interchangeable.

Organisations must assess their actual regulatory scope, contracts and risk obligations. This discussion is general information, not legal advice.

Adopting SRE in an enterprise: A practical roadmap

Enterprise SRE adoption should begin with one critical user journey, a small number of meaningful SLOs and a policy agreed by product and engineering. Expanding gradually makes it easier to validate measurements and avoid unnecessary process overhead.

PhaseMain activityExpected outcome
1. PilotChoose a critical user journey and define two or three SLIsShared reliability baseline
2. Establish policySet SLOs, error budgets and burn-rate alertsAgreed reliability decisions
3. StandardiseIntroduce SLOs as code and repeatable incident workflowsConsistent practices across services
4. IntegrateInclude SLOs in product planning, platform workflows and supplier reviewsReliability connected to business priorities

A separate SRE department is not always necessary at the beginning.

Responsibilities can be embedded within product teams, supported by central specialists or shared with a platform engineering function.

The right model depends on the organisation’s scale and operational complexity.

FAQ: SLIs, SLOs and error budgets

What is the difference between SLA, SLO and SLI?

An SLI measures service performance, an SLO sets the desired target, and an SLA defines contractual obligations. Internal SLOs often provide a reliability margin above the corresponding SLA commitment.

What is an error budget in SRE?

An error budget is the amount of unreliability allowed within an SLO measurement period. At 99.9% time-based availability over 30 days, the budget is approximately 43 minutes of downtime.

How do you calculate an error budget?

Subtract the SLO target from 1, then multiply by the relevant measurement base. For ten million valid requests at 99.9%, the allowance is 10,000 bad requests.

What happens when the error budget is exhausted?

The agreed policy determines the response. Teams may pause non-essential releases, prioritise reliability improvements and conduct a postmortem. Exceptions should have clear ownership and justification.

What is a burn rate?

Burn rate measures how quickly errors consume the permitted budget. A 14.4× burn rate means errors are occurring at 14.4 times the rate allowed by the SLO.

What is a good SLO target?

A good SLO reflects user needs, business risk and observed service performance. A 99.9% target may be appropriate for some APIs, but it should not be treated as a universal standard.

Make reliability a measurable business decision

Want to turn reliability into a number your product and engineering teams can agree on?

Talk to Webellian about defining meaningful SLOs, establishing error budget policies and implementing burn-rate alerting. Build a reliability model that supports delivery decisions, contractual commitments and operational resilience.

Sources

https://sre.google/sre-book/introduction

https://sre.google/sre-book/service-level-objectives

https://sre.google/workbook/implementing-slos

https://sre.google/workbook/error-budget-policy

https://sre.google/workbook/alerting-on-slos

https://sre.google/sre-book/eliminating-toil

https://sre.google/sre-book/availability-table

https://openslo.com/specification

https://docs.datadoghq.com/service_level_objectives

https://eur-lex.europa.eu/eli/reg/2022/2554/oj/eng

https://eur-lex.europa.eu/eli/dir/2022/2555/oj/eng

Translate »