Measure and track your service health metrics with service level objectives (SLOs) ๐
For each service that you use to indicate system health in Splunk Observability Cloud, you can define an SLO and how to measure it.
Create an SLO ๐
Follow these steps to create an SLO.
From the landing page of Splunk Observability Cloud, go to Detectors & SLOs.
Select the SLOs tab.
Select Create SLO.
Configure the service level indicator (SLI) for your SLO.
To use a service as the system health indicator for your SLI configuration, follow these steps:
Field name
Actions
Metric type
Select Service & endpoint from the dropdown menu
Environment
Open the dropdown menu and check the boxes for the environments where you want to apply this SLO
Service:endpoint
Search for the service you want to create an SLO for
(Optional) Add an endpoint for the selected service
Indicator type
Select either success rate or latency to use as the measurement for your SLO target:
Request success: Measure the proportion of requests that result in a successful response over the duration of the compliance window
Request latency: Measure the proportion of requests that load within the specified latency over the duration of the compliance window
Filters
Enter any additional dimension names and values you want to apply this SLO to. Alternatively, use the
NOT
filter, represented by an exclamation point ( ! ), to exclude any dimension values from this SLO configuration.To use a custom metric as the system health indicator for your SLI configuration, follow these steps:
Field name
Actions
Metric type
Select Custom metric from the dropdown menu
Good events (numerator)
Search for the metric you want to use for the success request count
Total events (denominator)
Search for the metric you want to use for the total request count
Note
Custom metric SLO works by calculating the percentage of successful requests over a given compliance period. This calculation works better for counter and histogram metrics than for gauge metrics. Gauge metrics are not suitable for custom metric SLO, so you might get confusing data when selecting gauge metrics in your configuration.
Define your SLO and how to measure it.
Field name
Actions
Target (%)
Enter the target you want to set for this SLO.
Latency (ms)
Only available and required for request latency SLI type. Enter the target loading time for your service requests.
Compliance window
Select a compliance window for this SLO from the dropdown menu.
Set up alerting for your SLO. You can subscribe to get notifications for the following alerts.
Alert
Description
Breach event
Alerts when the service level indicator (SLI) doesnโt meet the target over the specified compliance window.Note: Breach event alerting is selected by default and always runs in the background.Error budget
Alerts when the remaining error budget is less than 10% of the estimated error budget for the compliance window.
Burn rate
Alerts when the rate of consumption of your SLO error budget exceeds a healthy threshold for the specified compliance window. To learn more, see Burn rate alerts.
Splunk Observability Cloud automatically generates a name for your SLO. You can change this auto-generated name, as long as the SLO name is unique.
Select Create to create the SLO.