Start free trial
Start free trial Log in

14-day free trial. No credit card.

SLO vs SLA, and where SLI fits

  • Glossary
  • 3 minute read

What's the difference between SLI, SLO, and SLA?

SLI (indicator) is what you measure: p95 latency, success rate. SLO (objective) is your internal target for that indicator, like 'p95 under 300ms over rolling 28 days.' SLA (agreement) is a contractual promise to customers, usually with financial penalties. Every SLA implies an SLO and an SLI; not every SLO has an SLA. Most teams should set SLOs; only sell SLAs when customers require them.

Updated

The three letters get used interchangeably in standups, and they shouldn't be, because they sit at different distances from the customer. One is a number you measure, one is a target you hold yourself to, and one is a promise with money attached. Keeping them straight mostly stops you from signing up for the expensive one when you only needed the cheap one.

The three terms

Example across all three
SLI:  "The proportion of successful (non-5xx) /api/checkout requests."
        Definition: count(status < 500) / count(*)

SLO:  "99.9% of /api/checkout requests succeed over a rolling 28-day window."
        Internal target; breached means we invest in reliability.

SLA:  "We guarantee 99.5% monthly availability of /api/checkout.
       If availability falls below that, customers receive service credits."
        External contract; breached means we pay out.

The SLA promises less than the SLO (99.5% against 99.9%). That gap is deliberate: the stricter internal target warns your team well before the contract is at risk.

Error budgets

The complement of the SLO: 100% minus the target. If your SLO is 99.9%, your error budget is 0.1%. For a time-based SLO over a 30-day window, that's 43.2 minutes of tolerable failure (40.3 minutes over 28 days); for a request-based SLO, it's 1 failed request in 1,000. The budget is a currency:

  • Budget plentiful → green light for risky deploys, new features, velocity
  • Budget running out → freeze risky changes, invest in reliability
  • Budget fully consumed → hard freeze until the next window resets

This gives the "ship features" and "fix reliability" sides of a team one shared number to decide with. The remaining budget tells you which phase you're in.

Common Laravel SLOs

Endpoint class Latency SLO Availability SLO
Auth, checkout, paymentp95 < 300ms99.9% / 28 days
JSON API (list / read)p95 < 200ms99.5% / 28 days
Page render (dashboard)p95 < 500ms99.5% / 28 days
Internal adminp95 < 1000ms99% / 28 days

Burn-rate alerts

Alert on how fast you're burning the budget, not on raw thresholds. A burn rate of 1 spends the budget exactly over the window. A 1-hour burn rate of 14.4 means you'd exhaust a 30-day budget in about 2 days if it continued, and you've already spent 2% of it in that hour. That's actionable. A brief latency spike that uses 0.5% of the budget probably isn't.

Google's SRE workbook has canonical multi-window burn-rate alert setups: page when the 1-hour burn rate passes 14.4 (2% of a 30-day budget gone) or the 6-hour rate passes 6 (5% gone), each checked against a shorter window too so the alert clears soon after the burn stops.

Why most teams don't need an SLA yet

An SLA is a contract. It comes with lawyers, service credits, and a permanent operational tax: once you've promised 99.9%, every architecture decision has to defend that number. That's the right trade when an enterprise customer won't sign without it and the deal pays for the work. It's the wrong trade when you reach for it because it sounds professional.

The SLO gives you almost all of the value with none of the liability. It tells your team when reliability work is overdue and when there's room to move fast, and it does that whether or not a customer ever sees it. Set SLOs on the handful of routes that matter (auth, checkout, the core read path), watch them honestly, and only graduate a route to an SLA when someone is actually paying for the guarantee.

Get the raw numbers behind your SLIs

NightOwl doesn't track SLOs or error budgets. It shows average and P95 duration per route with 5xx counts, and keeps every request record in your own PostgreSQL, so you can compute an SLI such as a route's non-5xx ratio with a query.

No credit card needed.

Frequently asked questions

Anything else, write to support@usenightowl.com

What's the difference between an SLI, SLO, and SLA?

SLI (Service Level Indicator) is the measurement itself: p95 latency, 5xx error rate, request success ratio. SLO (Service Level Objective) is the target you set internally for that SLI, like 'p95 under 300ms over rolling 28 days'. SLA (Service Level Agreement) is the contractual promise to customers, usually with financial penalties if missed. Every SLA implies an SLO and an SLI; not every SLO has an SLA.

Do I need an SLA for my Laravel app?

Only if you're selling enterprise contracts where customers demand uptime guarantees. Internal SLOs are far more useful. They tell your team when to invest in reliability versus new features. SLAs introduce legal and financial complexity. Start with SLOs, graduate to SLAs when customers require it.

What's an 'error budget'?

The complement of an SLO: 100% minus the target. If your SLO is 99.9% success rate, your error budget is 0.1% failures, or 1 failed request in every 1,000. For a time-based SLO (99.9% of minutes good), that's 43.2 minutes over 30 days, or 40.3 minutes over 28 days. Spend the budget on risky deploys or new feature velocity when it's plentiful; tighten change velocity when it's running out. The error budget framing turns SLOs from pass/fail gates into a currency.

What SLO should I set for a Laravel app?

Depends on the endpoint. Common starting points: 99% success rate over rolling 28 days for non-critical routes, 99.9% for payment/auth/checkout paths. Latency SLOs: p95 under 500ms for UI render endpoints, under 200ms for JSON API endpoints. These are rough starting points. Tune them based on what users actually complain about.

Should I alert on SLO burn or on raw SLI breach?

SLO burn rate is better for noise reduction. Alerting on any p95 spike is noisy; alerting when you've burned 2% of a 30-day error budget in the last hour (a burn rate of 14.4) is signal. Google's SRE workbook has canonical burn-rate alert configurations. Raw threshold alerts have their place for novel events (first occurrence of a new exception), but daily ops alerts should be burn-based.

Can NightOwl enforce SLOs?

No. NightOwl has no SLO, error-budget or burn-rate tooling, and it doesn't alert on p95 or error rates. It opens a performance issue when a single request crosses its duration threshold, sends alerts when issues are opened, reopened, resolved or ignored, and shows average and P95 duration per route (P99 on the route detail). The raw request records sit in your own PostgreSQL, so you can compute an SLI such as a route's non-5xx ratio with a query and track the SLO yourself.

Keep reading

Flat pricing, whatever your traffic does

Every plan starts with a 14-day free trial. No credit card needed.

Hobby
$5 a month

One app for a side project. Issues and alerts, with a 14-day dashboard window.

Start my 14-day trial
TeamRecommended
$15 a month

Up to 3 apps and 5 people per team. Full history, the MCP server, data clearing and agent health.

Start my 14-day trial
Agency
$69 a month

Unlimited client apps and people, one overview of every app, and apps you can hand over.

Start my 14-day trial