SLO
Service Level Objectives
An SLO is a measurable reliability target for a service.
SLOs give teams a shared reliability target. They also show when reliability is degrading before users are heavily impacted.
SLO = SLI measured over a time window must meet a target percentageExample:
99.9% of HTTP requests to the payment service must succeed over a 28-day rolling window.
Related pages:
Key concepts
#. SLI
An SLI is the metric that measures service behaviour.
In this implementation, the SLI is a ratio:
SLI = (Good Events / Total Events) × 100%Use these terms when defining an SLI:
Good Events: requests or events that met the quality bar
Total Events: all requests or events attempted
SLI Ratio: the percentage of good events
Typical example:
Good Events: HTTP
2xxresponsesTotal Events: all HTTP requests
SLI Ratio:
99.95%
The Ascent platform supports query mode:
Ratio mode: select a success metric and a total metric separately
#. SLO
An SLO is the target for the SLI. It is measured over a rolling time window.
Default values:
Target percentage:
99.9%Time window:
28d
Supported examples:
2h, 24h, 7d, 28d, 30d, 90d
An SLO is met when:
#. Error budget
The error budget is the allowed amount of unreliability.
It is calculated as:
Examples:
99.9%target →0.1%error budget99.5%target →0.5%error budget99.0%target →1.0%error budget95.0%target →5.0%error budget
For a 28d window:
99.9%target allows about40 minutesof downtime99.5%target allows about3.4 hoursof downtime99.0%target allows about6.7 hoursof downtime
The error budget is shown live in the target step. It updates automatically when the target percentage changes.
#. Error budget remaining
Error budget remaining shows how much budget is still available in the current SLO window.
The progress bar uses these states:
More than
50%remaining: healthy10%to50%remaining: warningLess than
10%remaining: critical
When the remaining budget reaches 0%, the SLO is violated.
#. Burn rate
Burn rate shows how fast the service is consuming its error budget.
Examples:
1×: using budget at the expected pace2×: using budget twice as fast14×: using budget fast enough to exhaust it in about 2 days for a28dwindow
Burn rate matters because a service can still look acceptable at a glance while burning through its budget too quickly.
Last updated
Was this helpful?