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.
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:
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.
optional Select segments , choose the required segment(s), and select Apply. This reduces the number of filter results.
This is only an additional filter for the required entities. It does not apply to the SLO evaluation. To add the segment filter to the SLO evaluation, use step 5 in the Create a custom SLO section.
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 numeric percent in Show warning at field.
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 for your SLOs, such as a responsible ownership team or additional information about the underlying entities or criticality of your SLO.
Select Save.
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.timeseries { total=sum(dt.service.request.count) ,failures=sum(dt.service.request.failure_count) }, by: { dt.entity.service }, filter: { in (dt.entity.service, { services }) }| fieldsAdd sli=(((total[]-failures[])/total[])*(100))
optional Select segments , choose the required segment(s), and select Apply. This is an additional filter to the query.
The selected segments are stored with the SLO definition. Those filters are effective with future segment modifications and new entity creations with the same DQL query.
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.
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.
Select the Save button to create your SLO.
You can create, edit, list, delete, and evaluate your SLOs via API.
API
. In the search results, see Support resources section and Dynatrace API below it.