Set up metric events for alerting

After setting up Azure Monitor integration, you can start setting up and configuring metric events for alerting.

To configure metric events for alerting, in the Dynatrace menu, go to Settings > Cloud and virtualization > Azure > Metric events for alerting > Manage alerting rules. On the Metric events for alerting page you can create, enable/disable, and configure recommended alerting rules.
For an overview of all recommended alerting rules for all supporting services, see the list below.

Add a service to monitoring

The number of recommended alerting rules depends on the number of your monitored supporting services.
To add recommended alerting rules for a new supporting service, you first need to add the new service to monitoring.

To add a service to monitoring,

  1. In the Dynatrace menu, go to Settings.
  2. In Cloud and virtualization, select Azure.
  3. On the Azure overview page, select Edit for the desired Azure instance.
  4. Go to Supporting services and select Add service, choose the desired service name from the list, and select Add service.
  5. Select Save changes.

add azure service

Note: Not all supporting services have their own predefined alerting rules.

Create and enable alerting rules

To enable recommended alerting rules, you first need to create them. You can create alerting rules and automatically enable them, or (if you clear Automatically enable created rules) create them and manually enable them after possible configuration changes.

create-alerting-rules

For example, you can create and automatically enable a first batch of alerts. When you start monitoring new services, you can create alerts for these new services without automatically enabling them (because you want to configure them first).

Configure alerting rules

How you edit rules depends on whether you chose to automatically enable alerts.

  • If you chose to automatically enable alerts when creating them, go to Adjust recommended alerting rules, expand Enabled recommended alerting rules, and select any rule. This takes you to Edit custom event for alerting, where you can change the configuration rules for that specific service.

conf-alerts2

  • If you didn't choose to automatically enable alerts when creating them, go to Enable recommended alerting rules, expand Disabled recommended alerting rules, and select any of the disabled rules. This takes you to the same Edit custom event for alerting page.

enable-rules

Disable alerting rules

You can disable all alerting rules, or disable or delete them selectively.

custom-alerts

  • To disable all alerting rules, go to Adjust recommended alerting rules and select Disable all enabled recommended alerting rules.
  • To disable or delete alerting rules selectively, go to Adjust recommended alerting rules and select Custom events for alerting. On the Custom events for alerting page, you can disable an alert by turning it off in the On/Off column, or you can delete it by selecting x in the Delete column.

custom-events

Note: If you disable any or all of the alerting rules, you can always re-enable them.

enable-rules