SLOs and error budgets
Define service-level objectives from your monitors and APM data, track how much error budget you have left, and get fast and slow burn-rate alerts.
SLOs in brief
- Service-level indicator (SLI): a measurement that says whether the service is working, for example “the fraction of HTTP requests that return 2xx”.
- Service-level objective (SLO): the target, for example “99.9% of requests succeed over 30 days”.
- Error budget: the allowed bad events. A 99.9% SLO over 30 days means you can have at most 0.1% bad events — about 43 minutes of downtime — before the budget is gone.
When you define an SLO in VitalRix, it is re-evaluated on a schedule and its SLI, error budget and burn rates are shown on the SLO page and on any dashboard you add it to. An SLO is in one of four states: OK, At risk, Breached or No data. At risk means the SLI still meets the target but the error budget is below 25% or a burn-rate alert condition is active; Breached means the SLI is below the target.
SLI types
| SLI type | Measures | Data source |
|---|---|---|
| Monitor uptime | The share of checks that passed, counted together across the monitors you select (up to 50). | Uptime monitor checks |
| APM latency | The share of requests to a service answered within a threshold. Thresholds are the APM latency histogram buckets (1 ms up to 60 s), so the count is exact. | APM traces |
| APM errors | The share of requests to a service that did not fail. | APM traces |
APM SLIs pick a Service and an optional Environment (empty means every environment). There is no custom-metric SLI.
Instead of defining the SLI in the SLO, you can choose a saved SLI under Measure with: the SLO then follows it, and changes when it changes. For a target promised to a customer per calendar month or quarter, with service credits, use an SLA.
Create an SLO
Open SLOs
Go to Reliability › SLOs and click New SLO. The form has three parts: What to measure, Objective and Burn-rate alerts.
Choose what to measure
Pick Monitor uptime, APM latency or APM errors, then the monitors or the service (and, for latency, Good when answered within).
Set the target and window
Enter a name, a Target (%) (for example
99.9; it must be above 0 and below 100) and a Rolling window. Windows are always rolling: a 30-day SLO covers the last 30 days at every evaluation. There are no calendar-month or calendar-quarter windows. The form shows the resulting error budget, such as about 43 minutes of full downtime for 99.9% over 30 days.Rolling window options Window How it works 7 days Always the last 7 days. 28 days Always the last 28 days; covers whole weeks. 30 days Always the last 30 days. The most common choice for monthly commitments. 90 days Always the last 90 days, for quarterly commitments. Link an application
Optionally set Application so the SLO shows when that application is selected in the header; the default is None (organization-wide). You can also add a description.
Configure burn-rate alerts
The Alert on fast and slow burn switch is on by default. Set the fast and slow thresholds and choose which notification channels to tell (see below).
Error budget burn rate
A burn rate tells you how fast the error budget is being consumed relative to the sustainable pace. A burn rate of 1 means the budget lasts exactly the window. A burn rate of 14.4 sustained for an hour uses 2% of a 30-day budget.
Reading the SLO page
- SLI: the measured share of good events over the window, with the target beside it.
- Error budget remaining: how much of the budget is left, as a percentage, with what the target allows (for example the minutes of full downtime). It goes negative once the SLO is breached.
- Burn rate (1h) and Burn rate (6h): the current short and long burn rates, with the alert thresholds as hints.
- SLI over time, Error budget remaining and Burn rate charts: history across the window, stored at every evaluation, so a new SLO shows “Collecting history” at first.
- Measured from: the monitors or APM service behind the SLO, linked to their pages.
- Alert history: the fast and slow burn alerts raised for this SLO, with state, threshold and start and resolve times. Use Re-evaluate to recompute now.
SLOs and dashboards
Add an SLO widget to any dashboard to show one SLO next to your other charts. The widget is a compact card with the SLO name, its state, the SLI against the target and window, and an error budget bar.
Permissions
Viewing SLOs requires slo.read (all roles). Creating, editing and deleting requires slo.manage (Members, Admins and Owners by default).
Something unclear or missing? Open VitalRix and use the in-app setup guides, or read Troubleshooting.