Service Level Objective (SLO) is a target value or value range for the level of service that is being provided. SLOs have a definition of good events and bad events, as well as an objective, which is the percentage of total events which should fall in the good category. These good and bad events are often correlated with Service Level Indicators (SLI), which are quantitative measures of the service level being provided, some common examples including error rate and request latency .
Creating an SLO
There are two ways to create an SLO. The first is through the individual service page. At the top of the service page there is in an option to create either an availability or latency SLO. An availability SLO uses error rate as an SLI, while a latency SLO uses request latency as an SLI. Selecting either of them will open the Create SLO page with metrics and a service label pre-populated.
You can add additional label selectors or functions to the error and total event definitions in the Define the Source section. After that, set a target objective and enter any SLO details to finalize the SLO definition.
In order to alert on conditions that may lead to a violation of the SLO, Kloudfuse takes a multiwindow, multi-burn-rate alerting approach. This means that alerts will be fired based on multiple time window and burn rate (the rate at which the service is consuming the error budget) conditions. See the Google SRE workbook chapter Alerting on SLOs (https://sre.google/workbook/alerting-on-slos/) for more details. Here, you can input alert info and attach contact points. After filling out all fields, click Save & Exit to create an SLO.
Once SLOs have been created, they can be viewed from the SLOs page. Select an individual SLO to see a summary of the SLO status including Objective, Status, and Error Budget. A Good/bad events chart summarizes the SLI since the creation of the SLO. Switch to Historical Data to see data from the last 30 days, including before the creation of the SLO.
Switch to the alert tab to view and edit SLO alerts.