SLOs and error budget
An SLO (service level objective) is the availability you aim for, for example 99.9 % over 30 days. OKStatus turns it into an error budget — the downtime that objective allows — shows how much of it is left, and warns you before it runs out.
Available on every plan: an SLO on 1 monitor with Free, 5 with Pro, as many as you like with Max and Enterprise. SLOs on a monitor group are Max and Enterprise. There is one setting: the objective. The window (30 rolling days), the budget and the alerts follow from it.
SLA or SLO?
Section titled “SLA or SLO?”The SLA is what you promise your customers; it is what the SLA reports measure. The SLO is your internal objective, usually stricter, so that you react before the SLA is at risk. Setting an SLO changes nothing in your reports.
The error budget
Section titled “The error budget”The budget is the downtime the objective allows over 30 days:
| Objective | Downtime allowed over 30 days |
|---|---|
| 99 % | 7 h 12 min |
| 99.5 % | 3 h 36 min |
| 99.9 % | 43 min |
| 99.95 % | 21 min |
Any objective between 50 % and 99.999 % is accepted.
What counts
Section titled “What counts”- Downtime only: a monitor is down when a majority of its regions confirm the failure (see Outages seen from several regions). A slow monitor is not down — response time alerts cover slowness.
- Planned maintenance does not count: downtime inside a maintenance window of the monitor is left out.
- The window rolls: it always covers the last 30 days. An outage gives its time back 30 days later, so the budget refills on its own.
- Availability on the SLO screens is
1 − downtime ÷ 30 days, so “objective met” and “budget left” always agree.
Outages seen from several regions
Section titled “Outages seen from several regions”The budget counts the time the monitor is down, never minutes per region. The monitor is down when more than half of its regions have confirmed the failure: the majority rule that also decides its status. The same outage seen by three regions costs its duration once, not three times.
How many regions must be down at the same time before the budget moves:
| Regions on the monitor | Down at the same time |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 2 |
| 4 | 3 |
| 5 | 3 |
- A region is down after
retries + 1failed checks in a row. Before that, a first failure is only a warning and costs nothing. - An outage in a minority of regions (1 of 3, or 1 of 2) makes the monitor degraded (partial outage): you are alerted, but the budget does not move. With two regions, both must fail together.
- The budget stops as soon as the failing regions are no longer a majority, even if one of them is still red. The Recovered alert waits for every region; the budget does not.
- Each state lasts until the next check, from any region. When no check arrives at all (a probe or network problem), the last state is kept for at most three intervals (five minutes at least), then the gap counts as neither up nor down: a silent probe never eats your budget.
- Slowness and redirects do not count: a slow check or a 3xx outside the accepted codes is degraded (unless the monitor treats 3xx as down).
- The card follows within five minutes: the current hour is recomputed every five minutes.
- Recurring maintenance (cron) is not deducted, only one-off and manual maintenance windows.
Set an objective on a monitor
Section titled “Set an objective on a monitor”Open the monitor (Edit, or Add monitor) and go to the Alerts step. Under Availability objective (SLO), pick 99 %, 99.5 %, 99.9 % or 99.95 %, or type your own value. The form shows the budget it gives (“43 min of downtime allowed over 30 days”) and, for an existing monitor, whether the objective would have held over the last 30 days. None removes the SLO.
Set an objective on a group
Section titled “Set an objective on a group”A group often stands for a service: “Payments” = API + webhooks + back office. Open the group (⋯ → Edit) and pick its objective. The rule is simple: the group is down whenever one of its monitors is. Two monitors down at the same time count once. Each monitor keeps its own SLO if it has one.
The group’s notices go to the group’s alert channels, set in the same dialog.
Many monitors at once
Section titled “Many monitors at once”- On the SLO page, choose Set SLOs (or the Type → Without SLO menu and the selection button), tick the monitors, pick an objective and Apply. Before applying, the list shows for each monitor whether it would have held that objective over the last 30 days.
- On the Monitors list, select monitors and use SLO ▾ in the selection bar, next to Group ▾.
- For large fleets, set
sloTargetthrough the API or Terraform (see below).
Where to read the budget
Section titled “Where to read the budget”- The SLO page (sidebar, under Monitors): every SLO, monitors and groups, worst first — objective, availability over 30 days, budget left and when it runs out at the current pace. The KPI row counts the SLOs on track, at risk and exhausted.
- The monitor page: the period bar shows the monitor’s SLO instead of the organization’s SLA target, and an Error budget card, right above the event history, shows the share of the budget left, availability, the downtime used, the projection and the budget left over the last 30 days. Hover the curve (or focus it and use the arrow keys) to see, for each point, the budget left, the downtime in the window, and the outage that started there or the old one that left the window and gave its minutes back.
- The group header on the Monitors list: “SLO 99.5 % · budget 71 %”.
An SLO is at risk when less than 25 % of its budget is left, or when it would run out within 7 days at the pace of the last 7 days.
Alerts
Section titled “Alerts”Three notices, nothing to configure. They are sent on the monitor’s channels (or the group’s), at most one per evaluation (every 5 minutes):
| Notice | Sent when |
|---|---|
| Burning fast | 2 % of the 30-day budget gone in the last hour, or 5 % in the last 6 hours (and at least one minute of downtime). Repeated at most every 6 hours. |
| 75 % used | Three quarters of the budget are gone. Sent again only after it drops back under 70 %. |
| Exhausted | The objective is no longer met. Sent again only after it drops back under 90 %. |
There is no “recovered” message: the budget comes back slowly, on its own, and a message for it would be noise. There is no escalation either — an SLO notice is a warning, not an incident. Muted or paused monitors send none.
SLO notices go to e-mail, webhooks and the chat channels (Slack, Discord, Microsoft Teams, Google Chat, Mattermost, Rocket.Chat, Telegram, ntfy, Pushover). Incident tools (PagerDuty, Jira, Jira Service Management, incident.io, Alertmanager, Splunk, Grafana IRM), SMS and mobile push do not receive them: they are for pages, and a budget notice is not one.
Status pages
Section titled “Status pages”SLOs and budgets are never shown on public status pages.
| Plan | Monitors with an SLO | Group SLOs |
|---|---|---|
| Free | 1 | — |
| Pro | 5 | — |
| Max | Unlimited | ✓ |
| Enterprise | Unlimited | ✓ |
Past the limit, setting one more objective is refused (403,
PLAN_LIMIT_REACHED); changing or removing an existing one always works. If
the organization moves to a lower plan, the SLOs of its monitors are kept and
still evaluated, but no new one can be added beyond the limit. Group SLOs are
kept but no longer evaluated, and they can still be removed.
API, Terraform and MCP
Section titled “API, Terraform and MCP”| What | REST API | Terraform | MCP |
|---|---|---|---|
| A monitor’s objective | sloTarget on monitors (null removes it) | slo_target on okstatus_monitor | slo_target on create_monitor, update_monitor |
| A group’s objective | sloTarget on monitor groups | slo_target on okstatus_monitor_group | update_monitor_group |
| Budgets | GET /api/v1/slos, GET /api/v1/monitors/:id/slo | — | list_slos |
Terraform manages the objective, not the budget: a figure that changes every minute has no place in a Terraform state.
Cookie-free audience measurement (Matomo, hosted in France). Opt out