Settings API - Service-level objective definitions schema table
Service-level objective definitions (builtin:monitoring.slo)
Define custom Service-level objectives (SLOs) to assist in fulfilling your organization’s service-level agreements. Create up to 10000 custom SLOs for this Dynatrace environment.
builtin:monitoring.slo
group:cloud-automation.monitoring.slo
group:cloud-automation
environment
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:monitoring.slo |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:monitoring.slo | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:monitoring.slo |
Authentication
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
enabled
name
customDescription
The description of the SLO
metricName
metricExpression
For details, see the Metrics page (<your-dynatrace-url>//ui/metrics "Metrics page"
).
evaluationType
Select "Aggregate" to have the measurements of this success metric aggregated into a single percentage-rate metric.
AGGREGATE
filter
Set a filter parameter (entitySelector) on any GET call to evaluate this SLO against specific services only (for example, type("SERVICE")). For details, see the Entity Selector documentation.
evaluationWindow
Define the timeframe during which the SLO is to be evaluated. For the timeframe you can enter expressions like -1h (last hour), -1w (last week) or complex expressions like -2d to now (last two days), -1d/d to now/d (beginning of yesterday to beginning of today).
targetSuccess
Set the target value of the SLO. A percentage below this value indicates a failure.
targetWarning
Set the warning value of the SLO. At the warning state the SLO is fulfilled. However, it is getting close to a failure.
The ErrorBudgetBurnRate
object
burnRateVisualizationEnabled
fastBurnThreshold
The threshold defines when a burn rate is marked as fast-burning (high-emergency). Burn rates lower than this threshold (and greater than 1) are highlighted as slow-burn (low-emergency).