Dynatrace Davis automatically analyzes abnormal situations within your IT infrastructure and attempts to identify any relevant impact and root cause. Davis relies on a wide spectrum of information sources, such as a transactional view of your services and applications, as well as all on events raised on individual nodes within your Smartscape topology.
There are two main sources for single events in Dynatrace:
Custom metric events are configured in the global settings of your environment and are visible to all Dynatrace users in your environment.
1 . To add custom alerts, navigate to Settings --> Anomaly Detection --> Metric events menu.
2 . Click the Add metric events button.

3 . Fill in the below information on the Add metric event template
CPU % percentageMetric key from dropdownEC2 CPU usage % from dropdownAverage from dropdowndt-orders-monolith> to see Dimension key of entity type and select EC2 instance from dropdown
Add dimension filter and select as shown below.

> next to Advanced model properties and input as shown.
Event template section add:
CPU CUSTOM ALERTCustom alertEC2 instance from dropdown
Save Changes4 . Add another rule, with everything the same, except for the Event Description to have the title as CPU Resource Alert and Event type = RESOURCE as shown below.
Alert on missing data to off
5 . Save your changes and the list should look as shown below.
