Service Levels in New Relic: SLIs, SLOs and Error Budgets
"Is the site reliable?" is a feeling. "Checkout succeeded for 99.9% of requests in the last 28 days" is a fact. Service Levels in New Relic turn reliability into measurable targets.
Key Terms
- SLI (Service Level Indicator) — the measurement: % of good requests
- SLO (Service Level Objective) — the target: 99.9% over 28 days
- Error budget — the allowed failure: 0.1% of requests
- SLA — a contractual promise to customers, usually looser than your SLO
Choosing Good SLIs
Measure what users feel:
- Availability: % of requests that don't return 5xx errors
- Latency: % of requests faster than 500 ms
- Correctness: % of jobs that complete successfully
Creating One in New Relic
Service Levels lets you define SLIs from APM, browser, or any NRQL data. Example: valid and good events for latency:
-- Valid events
FROM Transaction WHERE appName = 'checkout-api' AND transactionType = 'Web'
-- Good events
FROM Transaction WHERE appName = 'checkout-api' AND transactionType = 'Web' AND duration < 0.5
Set the objective (e.g. 99.5%) and time window (e.g. rolling 28 days).
Error Budgets in Practice
- Budget healthy? Ship faster, take more risk.
- Budget burning? Slow down, prioritise reliability work.
- Budget gone? Freeze risky changes until it recovers.
This turns the endless "features vs. stability" debate into a data-driven agreement.
Burn-Rate Alerts
Alert on how fast the budget is being consumed, not on every error spike:
- Fast burn — consuming a big chunk in an hour → page someone
- Slow burn — steady leak over days → create a ticket
Rolling Out SLOs
- Start with 2–3 critical user journeys
- Set SLOs slightly below current performance, then tighten
- Review monthly with product and engineering
- Put SLO dashboards where leadership can see them
SLOs give teams permission to move fast when things are healthy — and a clear signal to stop when they're not.