Useful SRE service level objectives turn reliability goals into measurable decisions. This guide provides a copyable SLO worksheet, availability and latency calculations, alert-threshold guidance, an error-budget policy template, and a review cadence your team can reuse as services and requirements change.
Overview
A service level objective (SLO) is a target for a user-visible reliability measure over a defined time window. Common examples include successful request availability, latency, freshness of asynchronous data, or completion of a background job. An SLO is more useful than a broad goal such as “keep the service reliable” because it connects an observable outcome to an explicit decision rule.
The basic error-budget calculation is simple:
Error budget = 1 − SLO target
If the availability target is 99.9% for a 30-day window, the permitted unsuccessful portion is 0.1%. The budget can be expressed as a percentage of eligible events or as a time estimate. The time estimate is a planning aid, not a substitute for event-based measurement, because an outage affects users differently depending on traffic and scope.
Good SRE service level objectives have four properties:
- User relevance: the measurement reflects an experience users care about.
- Clear eligibility: the team can identify which requests, jobs, or events belong in the numerator and denominator.
- Actionability: a breach or declining budget leads to a defined response.
- Ownership: one team is responsible for maintaining the measurement and reviewing its meaning.
An SLO should not be selected only because a monitoring system already exposes the metric. Instrumentation is important, but the starting point is the service contract: what successful behavior does the user expect? For instrumentation choices, see the OpenTelemetry setup guide.
How to estimate
Start with one service, one user journey, and one primary SLO. Add secondary objectives only when they represent a distinct risk or decision. A practical worksheet looks like this:
| Field | Example entry |
|---|---|
| Service or journey | Checkout API |
| Indicator | Requests returning an acceptable response |
| Good event | HTTP response is successful and completes within the defined latency limit |
| Total events | All eligible checkout requests, excluding explicitly documented client-side exclusions |
| Target | 99.9% successful events |
| Window | Rolling 30 days |
| Owner | Checkout platform team |
| Budget action | Review release risk when burn is sustained; pause specified high-risk changes when the budget is exhausted |
For availability, calculate the service level indicator (SLI) as:
Availability SLI = good events ÷ total eligible events
Suppose a 30-day period contains 2,000,000 eligible requests and 1,998,200 are good events. The SLI is 99.91%. Against a 99.9% objective, the service remains within the stated objective for that window. The remaining budget is calculated from the difference between the target and the measured result, while keeping the denominator and exclusion rules unchanged.
For latency, define a good event using a threshold and calculate:
Latency SLI = requests at or below the threshold ÷ total eligible requests
For example, a team might define a target that 99% of eligible requests complete within 500 milliseconds. Do not substitute an average for this calculation. Averages can conceal a small group of very slow requests, while a percentile-style objective makes the acceptable boundary explicit.
When estimating time-based availability, use:
Permitted disruption time = window duration × error-budget percentage
For a 30-day window and a 0.1% budget, the rough time equivalent is 43.2 minutes. Treat this as an intuitive translation of the percentage. If traffic is uneven, event-based accounting should remain the authoritative measure.
Inputs and assumptions
The quality of an error budget depends more on definitions than arithmetic. Document these inputs before wiring an SLO to alerts or release policy.
Choose the eligible population
State whether the objective covers every request, only authenticated traffic, a particular region, or a named user journey. Exclusions may be appropriate for deliberately rejected requests or known test traffic, but they should be visible and reviewable. Broad exclusions can make a healthy dashboard out of an unhealthy service.
Define good and bad events
For availability, decide which response codes, timeouts, cancellations, and dependency failures count as unsuccessful. For latency, define whether the clock starts at the edge, application handler, or another boundary. For asynchronous systems, specify what constitutes completion and how delayed or duplicate events are handled.
Pick the window
A rolling window is useful for continuous release and incident decisions because it reflects recent behavior. A calendar window can simplify monthly reporting. Whichever you select, use the same window when discussing the budget, alerts, and policy. A short measurement window can react quickly but may be noisy; a longer window is steadier but can hide recent deterioration.
Separate the SLO from the alert
The SLO describes the desired outcome. An alert describes when a person should investigate. They are related but not identical. A single threshold such as “alert when availability falls below the target” can be too slow for a severe outage and too noisy for a small fluctuation.
| Alert approach | Strength | Limitation | Useful application |
|---|---|---|---|
| Instant threshold | Simple to understand and implement | Can page on brief spikes or miss slow budget consumption | Severe, immediate failures |
| Short-window burn rate | Detects rapid budget consumption | Requires careful window and threshold selection | Urgent incidents |
| Long-window burn rate | Finds sustained degradation | May respond later to a sudden outage | Trend-based intervention |
| Dashboard-only threshold | Provides context without paging | Relies on scheduled review | Low-severity drift and capacity planning |
Use paging for conditions that require prompt human action. Route lower-severity budget consumption to a ticket, dashboard, or review queue. Alert definitions should include the affected service, user impact, current window, likely owner, and a link to the relevant runbook.
Worked examples
Availability objective
A payments API has a 99.95% availability objective over a rolling 30-day period. Its error budget is 0.05%. If the service receives 4,000,000 eligible requests, the approximate event budget is:
4,000,000 × 0.0005 = 2,000 unsuccessful events
This number should be interpreted alongside traffic distribution. Two thousand failures in a low-volume period may have a different user impact than the same number concentrated during a peak transaction period. The team should therefore review both the aggregate budget and the affected journey, region, tenant, or release.
Latency objective
An internal deployment service sets an objective that 99% of deployment-status requests complete within two seconds. During a review window, 98,700 of 100,000 eligible requests meet that threshold. The measured SLI is 98.7%, below the 99% objective. The error-budget result is not merely “slow requests increased”; it indicates that the defined user experience was missed for 1,300 requests and should prompt investigation into causes such as dependency latency, queueing, or resource saturation.
Error-budget policy template
Adapt the following policy to your service rather than applying it unchanged:
- Within budget: normal feature delivery and reliability work continue, with routine SLO review.
- Budget declining quickly: investigate the leading contributor, reduce avoidable risk, and consider a targeted reliability task before the next high-risk release.
- Budget exhausted: prioritize restoration and corrective work. Defer optional high-risk changes until the owner and stakeholders agree that release risk is understood.
- Repeated exhaustion: review the SLO definition, architecture, capacity, dependency behavior, testing coverage, and operational ownership. Do not simply lower the target to make the dashboard green.
- After an incident: connect the measured impact to the SLO, record the budget consumed, and create follow-up actions with owners and due dates.
Use a blameless incident postmortem template to connect incident findings with SLO changes and durable remediation. For deployment-related risk, compare rollout choices in the deployment strategy guide.
When to recalculate
Revisit the SLO worksheet whenever the service, traffic, or decision context changes. At minimum, schedule a recurring review with service owners, product representatives, and the people who respond to alerts. A practical agenda is:
- Confirm that the SLI still represents a meaningful user outcome.
- Check event counts, exclusions, missing telemetry, and dashboard queries.
- Review budget consumed, major contributors, and alert quality.
- Compare the target with current user expectations and business criticality.
- Decide which reliability or delivery actions are required, with owners and dates.
Recalculate after a major architecture change, a new region or tenant model, a change in dependency behavior, a sustained traffic-pattern shift, or an incident that exposes a measurement gap. Recheck the formulas when metric names, query syntax, sampling, aggregation, or monitoring tooling changes. The surrounding observability stack may change, but the core questions remain stable: what counts as good, who experiences it, how much failure is acceptable, and what will the team do when the budget is spent?
Keep the worksheet versioned with the service documentation and link it from dashboards and runbooks. Pair it with the internal developer platform blueprint when standardizing service onboarding. A visible, maintained SLO is more useful than a perfect formula that nobody reviews.