Azure Monitor Alerts

Learn about an important feature of Azure Monitor called Azure Monitor alerts.

Azure Monitor alerts help us find issues within our infrastructure setup or in our applications using the monitoring tools in Azure Monitor. These alerts can help us identify and address issues even before the users of our system notice them.

Alert rules are a combination of some components. These components are as follows:

  • Resource: This is a monitored component and is our target resource. The resource we monitor can be a storage account, VMs, or an Azure App Service resource.

  • Signals: These signals are emitted by our monitored resource and are emitted as per our configurations. These signals can be metrics, Application Insights logs, and so on.

  • Condition: This is a bridge connecting resources with signals. Signals are emitted by the resources based on the configuration condition, e.g., sending an email alert if the “CPU consumption > 70%” condition is met.

Action group

When an issue is found, or a configuration exceeds the threshold value, an alert is triggered by Azure Monitor. These alerts use action groups to notify users about the alert and enable them to take action. In simple terms, an action group is a configuration to set the notification preferences for sending alerts. When setting up alerts, we can configure new action groups or use existing action groups. Each action is composed of the following properties:

  • Type: It is the type of notification that will be sent. It could be a text message or an email.

  • Name: It specifies the unique name of an action group.

  • Details: It varies by type. It has specific configuration settings and parameters available for each type of action within an action group.

    Note: If an action group includes an email action, ...