Create a Metric SLO
To create an SLO alert, complete these tasks:
Begin defining an SLO
-
Select the Alerts tab, and then the SLO Rules option in the drop-down menu.
-
In the SLO interface, click
(Create New SLO).
-
The Create SLO interface appears.
Choose the detection method
SLOs have these detection options:
- Latency
-
select
- Availability
-
select
- Metric
-
select
Here, choose (metric).
Pick a service
Specify the service you plan to monitor.
-
Select the
(Service name), from the
(Pick a service) drop-down.
Depending on the service and its configuration, the system displays its labels.
-
[Optional] To filter on specific attribute values of the service, perform these steps:
-
On the
(Matchers) line, click
(+, plus).
-
Select an attribute from the Select drop-down.
-
Select the comparison operation from the drop-down.
- =~
-
Regex expression equal
- !~
-
Regex expression not equal
- !=
-
Not equal
- =
-
Equal (default)
-
Finally, select one of the possible values from the second Select drop-down.
-
-
To add more Matchers, repeat Step 2.
-
To remove an existing Matcher, click its
(dismiss) icon.
Set condition
There are some differences in the process of setting the alerting condition, depending on the detection method.
For a Latency SLO, set these two conditions:
- Latency Threshold
-
Hover over the value set. When it becomes mutable, either type in the value, or adjust it using the "higher" and "lower" selectors.
Note that the units are in milliseconds, (ms).
- Objective %
-
Hover over the value set. When it becomes mutable, either type in the value, or adjust it using the "higher" and "lower" selectors.
Note that the units are the percentage (%).
Add details
Provide details for the SLO:
- Name
-
Kloudfuse automatically creates this immutable name, based on the type of SLO and the selected service.
- Description
-
[Optional] Enter a distinct and meaningful name for the SLO.
This is an optional step. If you choose to complete it, you create an accompanying alert for the SLO. If you leave the Contact Points field blank, you can still create a valid SLO.
You can either Choose Contact Points, or Create New Contact Points and then choose them.
Choose Contact Points
-
Choose one or more of the existing contacts from the drop-down, so they can receive the alert.
-
To remove a contact you previously selected from the alert notification, click
(Delete) icon on their tile.
-
To remove all contacts that you previously selected, click the
(Delete) icon on the right side of the drop-down.
Create New Contact Points
-
Click
(Create New Contact Points).
-
Kloudfuse opens the Create Contact points interface.
Specify, configure, test, and save new contact points. See Alerts contact points for details.