Site Reliability Engineering Basics: SLIs, SLOs, Error Budgets, Tracing, Error Reporting and Incident Response

Google Cloud Platform Architect 50 min min read Updated: Nov 17, 2026 Intermediate
Site Reliability Engineering Basics: SLIs, SLOs, Error Budgets, Tracing, Error Reporting and Incident Response
Intermediate Topic 2 of 3

What Is SRE?

Site Reliability Engineering treats operations as a software problem. Engineers set measurable reliability goals, automate repetitive work and learn from failures.

SLI, SLO and SLA

TermMeaningExample
SLI (indicator)A measurement of service qualityPercent of requests that succeed in under 300 ms
SLO (objective)A target for the SLI over time99.9 percent over 30 days
SLA (agreement)A contract with customers, with penaltiesCredits if availability is below 99.5 percent
  • SLOs should be stricter than SLAs, so you notice problems before breaking the contract
  • Pick SLIs users care about: availability, latency, correctness, freshness, throughput
  • 100 percent is the wrong target. It is too costly and blocks change

Error Budget

text SLO 99.9% over 30 days → allowed failure = 0.1% = about 43 minutes per month Budget left? → ship features faster Budget spent? → freeze risky releases and fix reliability
AvailabilityDowntime per 30 days (about)
99%7 hours 12 minutes
99.9%43 minutes
99.95%21 minutes
99.99%4 minutes 19 seconds
99.999%26 seconds

Each extra nine costs much more. Chain of services multiplies: if A is 99.9 and B is 99.9 in series, the total is about 99.8.

Setting SLOs in Cloud Monitoring

  • Cloud Monitoring has a Service Monitoring feature: define a service, an SLI (request-based or windows-based) and an SLO
  • It shows the error budget and lets you alert on burn rate (how fast you spend the budget), for example page when the 1-hour burn rate is 14 times normal

Finding Problems

ToolUse
Cloud TraceFollow one request through many services and see where latency comes from (OpenTelemetry supported)
Error ReportingGroups and counts application errors and stack traces, with notifications for new errors
Cloud ProfilerContinuous CPU and memory profiling in production to find slow code
Logs Explorer and Log AnalyticsInvestigate events
Network Intelligence CenterNetwork faults
Gemini Cloud AssistAI help to investigate and explain issues

Incident Response

  1. Detect: alert fires
  2. Triage: how many users, how bad? Assign a severity
  3. Assign roles: incident commander, communications lead, operations lead
  4. Mitigate first (roll back, shift traffic, add capacity). Root cause later
  5. Communicate status regularly
  6. Resolve, then write a blameless postmortem with timeline, causes, what went well, action items with owners
  • Blameless: focus on systems and process, not on a person
  • Track MTTD (time to detect) and MTTR (time to recover)

Reliable Releases and Testing

  • Canary and blue/green releases with quick rollback
  • Load testing before big events and capacity planning with growth forecasts
  • Chaos engineering: inject failures on purpose to prove the system survives
  • Penetration testing and game days
  • Reduce toil: automate manual repetitive tasks

Practice

  1. Define an SLI and SLO for a login API
  2. Calculate the error budget for 99.95 percent over 30 days
  3. Write a short blameless postmortem for an imaginary outage
  4. Explain what you would do first when error rate jumps after a release

Conclusion

SRE sets SLIs and SLOs, uses error budgets to balance speed and reliability, finds problems with Trace, Error Reporting and Profiler, and responds to incidents with clear roles and blameless postmortems.

Quick Summary: SRE; SLI SLO SLA; error budget; SLO setup; tools; incidents; releases.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators