Dynatrace is a software intelligence platform that utilises AI and automatiion to monitor and optimize applications, infrastructure and security. It utilises metric ingestion from various sources which makes it a great place to track Service Level Objectives (SLOs).
Access to a Dynatrace account
Dynatrace API access configured on the host running the reliably CLI tool. The following Environment variable are required when configuring access.
Name Description DYNATRACE_ENV_ID The Dynatrace Host Environment ID. See here for more information. DYNATRACE_API_TOKEN A Dynatrace API token with sufficient scope to read all metrics. See here for information on how to generate access tokens.
Populate Reliably using Dynatrace
As Dynatrace supports ingesting metrics and SLO trackin, Reliably integrates by allowing you to import SLOs defined in Dynatrace.
This can be done using:
$ reliably populate dynatrace --sync
You can also define your own metric based SLO by passing a mertric expression to the Reliably CLI and defining your own targets and aggregation. Reliably will use the given expression to retrieve metrics from Dynatrace and calculate your SLOs based on the targets provided.
To add your own metric expression based SLO run the command below and follow the onscreen prompts:
$ reliably populate dynatrace
Note: As SLOs are either created using user defined expressions or imported from Dynatrace, there are no pre-defined Objectives for the Dynatrace provider.