Create a Metric SLO

Begin defining an SLO

  1. Select the Alerts tab, and then the SLO Rules option in the drop-down menu.

    Navigate to the SLO Interface
  2. In the SLO interface, click Create New SLO (Create New SLO).

    Create New SLO
  3. The Create SLO interface appears.

Step 1 Choose the detection method

SLOs have these detection options:

Latency

select Latency detection

Availability

select Availability detection

Metric

select Metric detection

Here, choose Metric detection (metric).

Choose Metric Detection Method

Step 2 Pick a service

Specify the service you plan to monitor.

slo latency pick service

  1. Select the Service name (Service name), from the Pick a service(Pick a service) drop-down.

    Depending on the service and its configuration, the system displays its labels.

  2. [Optional] To filter on specific attribute values of the service, perform these steps:

    1. On the Matchers (Matchers) line, click plus (+, plus).

    2. Select an attribute from the Select drop-down.

    3. Select the comparison operation from the drop-down.

      =~

      Regex expression equal

      !~

      Regex expression not equal

      !=

      Not equal

      =

      Equal (default)

    4. Finally, select one of the possible values from the second Select drop-down.

  3. To add more Matchers, repeat Step 2.

  4. To remove an existing Matcher, click its dismiss (dismiss) icon.

Step 3 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:

set latency condition
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).

Latency Threshold.
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 (%).

Objective

Step 4 Add details

Provide details for the SLO:

Add details
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.

Add contacts

Choose Contact Points

  1. Choose one or more of the existing contacts from the drop-down, so they can receive the alert.

  2. To remove a contact you previously selected from the alert notification, click delete (Delete) icon on their tile.

    alerts remove contact point
  3. To remove all contacts that you previously selected, click the delete (Delete) icon on the right side of the drop-down.

    alerts remove contact point all

Create New Contact Points

  1. Click Create New Contact Points (Create New Contact Points).

    alerts create contact points
  2. Kloudfuse opens the Create Contact points interface.

    Specify, configure, test, and save new contact points. See Alerts contact points for details.

Create SLO

  1. To complete creating the SLO, click Create SLO (Create SLO).

  2. Kloudfuse reports that "SLO created successfully".

  3. If you choose not to create the SLO at this time, click Cancel (Cancel).

  4. The new SLO appears in the list of SLOs.