Check out our latest blog: "SRE Principles: The Core Ideas Behind Site Reliability Engineering"

Learn More
logo
left-arrowBlog

SRE Principles: The Core Ideas Behind Site Reliability Engineering

SRE Principles: The Core Ideas Behind Site Reliability Engineering
Shrinithi Vijayaraghavan
Shrinithi Vijayaraghavan

Product Marketer

December 02, 2026

SRE principles are a small set of ideas for running production software as an engineering problem. Choose a reliability target users would actually notice, measure it honestly, and treat the gap between that target and perfection as a budget you can spend on change. Automate the repetitive work, and when things break, respond with structure and learn without blame.

This guide covers each principle in turn, using one running example: orders-api, the service that takes orders for an online store and handles about 10 million requests a month.

The pillars of SRE at a glance

PrincipleThe question it answersIn practice
Embrace riskHow reliable is reliable enough?A target below 100%, agreed with the business
SLOsHow do we measure "reliable" from the user's side?SLIs like success rate and latency, each with a target
Error budgetsWhen do we ship, and when do we slow down?100% minus the SLO, plus a policy for when it runs out
Eliminate toilWhere is our engineering time going?Measuring manual, repetitive work and automating it
MonitoringHow do we know something is wrong?Pages for symptoms users feel, tickets for the rest
Incident responseWhat happens when it breaks?Clear roles and blameless postmortems
Safe change and simplicityHow do we change things safely?Gradual rollouts, fast rollback, fewer moving parts

Where SRE came from, and the problem it solves

Site reliability engineering started at Google in 2003, when Ben Treynor Sloss took charge of a seven-person production team. Google later described how that team worked in the Site Reliability Engineering book, which is where most of the principles below come from.

The problem it set out to fix is a familiar one. Developers are rewarded for shipping features, operations teams for keeping things stable, and every release puts the two at odds. SRE's answer is to stop arguing about reliability in adjectives and agree on it in numbers. (For how SRE relates to DevOps and platform teams, see platform engineering vs SRE vs DevOps.)

1. Embrace risk: 100% is the wrong target

The first principle is to not aim for perfect reliability. The SRE book's Embracing Risk chapter explains why: each extra nine costs far more than the last, users can't tell the difference past a point because their own networks fail more often than your service, and time spent on unnoticed nines is time not spent on features.

So the goal is to be as reliable as users and the business need, and no more. A failed order costs real money, so orders-api's bar is high. An overnight internal report can tolerate a few failures a month. Setting that bar is a product decision, and SLOs are how you make it explicit.

2. Measure reliability the way users feel it: SLIs, SLOs and SLAs

The SRE book's chapter on service level objectives defines three terms that are easy to mix up:

TermWhat it isorders-api example
SLI (service level indicator)A measurement of one aspect of the serviceThe share of order requests that succeed
SLO (service level objective)A target for an SLI over a time window99.9% of order requests succeed over a rolling 30 days
SLA (service level agreement)A contract with consequences if you missCustomers get a credit if monthly availability drops below 99.5%

If missing it costs money or triggers a penalty, it's an SLA. SLAs are usually looser than internal SLOs, so you have room to react before anyone gets a refund.

The most useful SLIs are a ratio of good events to valid events:

availability SLI = successful POST /orders requests / all valid POST /orders requests

A malformed request that gets a 400 is the client's mistake, so most teams leave it out. A 500, a timeout or a reset connection counts as bad. Measure as close to the user as you can, such as at the load balancer, which sees failures the service's own logs miss.

When you pick targets, don't just copy today's numbers, keep to two or three SLOs per service, and start loose so you can tighten later. The book also warns against beating your SLO by too much. Google's Chubby lock service ran so reliably that other teams assumed it would never fail, so its owners began taking it down on purpose in quarters when it ran well above target, to surface those hidden dependencies early.

3. Spend an error budget instead of arguing about risk

An error budget is the failure your SLO allows. With a 99.9% SLO, the budget is the other 0.1%, and both developers and operators now look at the same number.

For orders-api, with about 10 million requests a month:

  1. Allowed failure: 100% − 99.9% = 0.1%.
  2. Budget: 10,000,000 × 0.001 = 10,000 failed requests per 30 days.
  3. Average traffic: 10,000,000 ÷ 43,200 minutes ≈ 231 requests a minute.

A bad deploy that fails 2% of requests for 20 minutes burns about 93 requests (231 × 20 × 0.02), under 1% of the budget. A full 30-minute outage burns about 6,900 requests, roughly 70% of the month's budget. The first is a blip. The second means the next few weeks go to reliability work.

In time rather than requests, common targets allow this much full downtime:

SLOPer 30 daysPer year
99%7.2 hours3.65 days
99.9%43.2 minutes8.76 hours
99.95%21.6 minutes4.38 hours
99.99%4.32 minutes52.6 minutes

A budget only changes behavior if everyone agrees in advance what happens when it runs out. In the SRE book's version, releases go ahead while budget remains, and when it's spent they pause while the team works on resilience. Product and engineering sign that policy off together, before the next bad week.

For burn-rate alerts, see our golden signals guide.

4. Eliminate toil

Toil is operational work that keeps a service running but leaves nothing behind. The SRE book's chapter on toil describes it as manual, repetitive, automatable, interrupt-driven and of no lasting value. Crucially, it grows with the service: twice the traffic or twice the services means twice the work, so a team buried in toil has to grow as fast as the system does.

On orders-api, a two-week log of on-call work might turn up a payment-webhook consumer that needs restarting twice a week, database volumes expanded by hand whenever a disk alert fires, and the same five dashboards opened to check whether a latency alert is real. None of it is hard, but together it can eat a day a week.

To cut it:

  1. Measure it. Tag pages, tickets and manual tasks as toil for a couple of weeks.
  2. Rank by total time. The consumer restart at 30 minutes twice a week beats a quarterly certificate rotation.
  3. Fix causes, then automate the rest. A consumer that recovers on its own beats a script that restarts it.

Google keeps operational work below half of each SRE's time, leaving the rest for SRE engineering work. The exact number matters less than having a cap and tracking against it.

5. Monitor symptoms, and only page humans when they need to act

Monitoring tells you whether you're meeting your SLOs. The SRE principle is that software should watch the data and a person should be notified only when they need to act. The book sorts output into three kinds:

OutputMeaningorders-api example
PageA human must act nowOrder failures are burning the error budget fast
TicketA human must act, but it can waitThe orders database will be full in about three days
DataNobody acts; it's there for diagnosisOne pod's CPU spiked for a minute and recovered

Most alert fatigue comes from paging on things that belong in the second or third row. Before adding an alert, ask what the person will do if it fires at 3 a.m. If the answer is "look and go back to sleep", it's not a page.

For request-driven services, the four golden signals (latency, traffic, errors and saturation) are the place to start, and our guide to the SRE golden signals covers each one. Coverage matters too: an SLO measured on half your services describes half your users. And getting from "orders are failing" to "why" takes traces, logs and infrastructure context, which is where monitoring ends and observability begins.

6. Respond to incidents with structure, then learn without blame

Your error budget assumes incidents will happen. The principle is to make the response predictable and to leave the system better after each one.

The SRE book's chapter on managing incidents suggests declaring an incident when a second team is needed, customers can see the problem, or it's unsolved after an hour of focused work, and to declare early rather than late. Once declared, give people roles: an incident commander who owns the overall picture, an operations lead who is the only one changing production, a communications lead who keeps stakeholders updated, and a planning lead for follow-up work. On a small team one person may hold two roles, but the roles still exist.

The priorities run in order: stop the bleeding, restore service, then preserve evidence. Rolling back orders-api's latest deploy comes before working out why it broke. Written playbooks help, and the book reports roughly a 3x improvement in mean time to repair when responders follow one.

Afterwards, write a postmortem when the incident meets triggers agreed in advance, such as user-visible impact, data loss or a manual rollback. Following Google's guidance, keep it blameless: assume people made reasonable decisions and ask why the system let a reasonable decision cause an outage. "Someone deployed a bad config" is blame. "Config changes skip the staging rollout and nothing validates the payment provider URL" is a finding you can fix. Track the follow-up actions like any other engineering work.

7. Change things safely, and keep the system simple

The SRE book estimates that about 70% of outages follow a change to a live system, so how you ship is a reliability practice. Roll new versions out to a small slice of traffic first, watch their SLIs during the rollout, and make rollback a one-command job so people use it early.

Simplicity is the quieter half of this principle. Every extra component and special case is something that can fail and something on-call has to understand at 3 a.m. The book's chapter on simplicity treats removing code and features as real reliability work.

A few other SRE concepts come up often: capacity planning (forecasting demand and load testing before peaks like a sale), automation that takes whole decisions off people's plates, MTTD and MTTR as trends across many incidents, and on-call health, measured by how many pages each shift gets and how many needed no action.

SRE tutorial: putting the principles to work on one service

You don't need an SRE team to start. You need one service and a few weeks.

  1. Pick one user-facing service, such as orders-api, where failures are visible and costly.
  2. Name the journeys that matter, like "place an order" and "check order status".
  3. Define two SLIs and measure them first, for example order success rate and the share of orders completed in under 800 ms. Collect two to four weeks of data before setting targets.
  4. Set SLOs and an error budget policy with the product owner, in writing.
  5. Rebuild alerting around the SLOs. Page on fast budget burn, ticket slow problems, delete alerts nobody acts on. The golden signals guide has starter rules.
  6. Agree how incidents run: roles, declaration and postmortem triggers, and playbooks for your most likely alerts.
  7. Log toil for two weeks and automate the biggest item.
  8. Review monthly: SLO performance, budget spent, open postmortem actions and toil hours.

After a cycle or two you have a template, and the second service goes faster.

How we approach this at KubeSense

No tool will write your SLOs or your error budget policy. Where tooling matters is the data underneath them and how much manual work an incident takes, and that's what we built KubeSense for.

  • Coverage without re-instrumenting. KubeSense is OpenTelemetry-native, accepts data from existing Datadog APM agents, and uses our eBPF agent to fill gaps where services have no instrumentation.
  • From "what" to "why" in one place. APM and tracing, logs, metrics and infrastructure monitoring across Kubernetes, VMs and cloud infrastructure sit in one platform, with traces, logs and metrics correlated.
  • Less toil per incident. When a threshold is crossed, KubeSense raises the alert, routes it and opens an incident. AgentSRE, our AI SRE, runs a root cause analysis across telemetry, runbooks and documentation, then posts the data sources it checked, the root cause and resolution steps. An engineer reviews it and decides. More in what an AI SRE is.
  • Your telemetry stays with you. The platform runs in your own cloud account or data center, with price capping and free pre-production usage.

To see it on your own services, book a 15-minute demo.

FAQ

What are the main principles of SRE?

Embracing risk instead of chasing 100% reliability, setting SLOs, managing change with error budgets, eliminating toil, monitoring symptoms users feel, running incidents with clear roles and blameless postmortems, and shipping changes safely while keeping systems simple. Most come from Google's Site Reliability Engineering book.

What are the pillars of SRE?

There's no official list, but the pillars of SRE usually cover SLOs and error budgets, toil reduction and automation, monitoring, incident response, and safe releases. All of them treat reliability as a measurable engineering target.

What is the difference between an SLI, an SLO and an SLA?

An SLI is a measurement, such as request success rate. An SLO is a target for it over a time window, such as 99.9% over 30 days. An SLA is a contract that attaches a penalty or credit to missing a target.

Is SRE the same as DevOps?

No. DevOps is a culture where the people who build a service also run it. SRE is a specific way of running production built on SLOs, error budgets and limits on manual work. Many teams use both.


Tags

SRE principles
SRE