With Service-Level Objectives, you can configure new service-level objectives (SLO)s from templates provided by Dynatrace.
You can also define your SLOs based on a custom DQL query.
Steps
Create an SLO from template
To create a new SLO with a predefined template
In Dynatrace, search for Service-Level Objectives and open it.
Select Service-level objective.
In the SLO wizard, choose one of the following:
CPU utilization
Service availability
Service performance
Select Create for one of the above options.
Choose the entities that should meet your objective. If you're using the Service performance template, enter a value in milliseconds in Requests should be faster than.
Select Next.
Define the criteria of your SLO. Fill in the Target field and select the timeframe for the evaluation period by using the dropdown in the over the evaluation period field.
optional Turn on Show warning and enter the percentage in Show warning at.
Select Next.
Enter a name for your SLO in SLO Name.
optional Provide a meaningful description of what your SLO is about in SLO description.
optional Provide tags for your SLO in the Tags section by filling in the Key and Value fields. Select Add to save the tags. Tags can be used to provide additional metadata to your SLOs, such as a responsible ownership team or additional information about the underlying entities or criticality of your SLO.
Select Save to create your SLO.
Create a custom SLO
In Dynatrace, search for Service-Level Objectives.
In the overview of Service-Level Objectives, select Service-level objective.
Select Custom SLO.
Provide your DQL query. Your query has to include an "sli" field like in the following example, to ensure consistent visualization, transformation, and aggregation across your SLOs. The "sli" field needs to return an array of double type. The DQL query can be based on any data type in Grail, such as events or logs. Using the makeTimeseries provides the possibility to create an sli time series that can be used for calculating the SLO status.
Define the criteria of your SLO. Fill in the Target field and select the timeframe for the evaluation period by using the dropdown in the over the evaluation period field.
optional Turn on Show warning and enter the percentage in Show warning at.
Select Next.
Provide the name for your SLO in the SLO Name field.
optional Provide a meaningful description of what your SLO is about in the SLO description field.
optional Provide tags for your SLO in the Tags section by filling in the Key and Value fields. Select the Add button to save the tags. Tags can be used to provide additional metadata to your SLOs, such as a responsible ownership team or additional information about the underlaying entities or criticality of your SLO.