Extensions alerting

  • How-to guide
  • 1-min read
  • Published May 07, 2020

One of the key features of Dynatrace is its ability to detect and analyze performance issues before your customers are affected by them. This is achieved through the use of alert templates, which allow you to find the root cause of performance issues even in complex environments.

In order to take advantage of this functionality, your can ship alert templates with your extensions. The templates are defined under alertTemplates key in your extension.yaml file.

alertTemplates:
- title: "alert template static below"
description: "An alert template showing the structure of an alert"
executionSettings:
queryOffset: 12
analyzer:
name: "dt.statistics.ui.anomaly_detection.StaticThresholdAnomalyDetectionAnalyzer"
input:
query: "timeseries count()"
threshold: 100
alertCondition: "BELOW"
alertOnMissingData: false
violatingSamples: 3
eventTemplate:
event.type: CUSTOM_ALERT
event.name: "easy-travel-location-emergency"
event.description: "description"

Create an anomaly detector for an extension

Based on the alert template, you can also create a new anomaly detector in Davis Anomaly detection.

This is done by going to the Extension content tab on the extension's page and clicking the Create alert button.

Related tags
Infrastructure ObservabilityExtensionsExtensions