Maintained with ☕️ by
IcePanel logo
Microsoft Azure logo
Original post

Improvements to Azure Monitor metric alerts

Share

Services

**Quota increase to 5K** The number of metric alert rules you can define in a subscription was increased to 5,000 rules. **Editing tags** Metric alert rules now support updates using the HTTP PATCH operation, which allows updating alert rule properties and [managing tags](https://docs.microsoft.com/azure/azure-resource-manager/management/tag-resources) of existing metric alert rules. **Define an action group from another subscription** You can now define a metric alert rule that monitors a resource in one and is configured to trigger an action group that resides in another subscription. **New resource types enabled for metric alerts** Many [resource types](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-monitor%2Fplatform%2Falerts-metric-near-real-time&data=02%7C01%7Charelbr%40microsoft.com%7Cdc30e9a777d24c08f73808d83469115f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637316973152216998&sdata=fuVmlZXuG9U7nWq%2BZGdneX1COEz8R99ueMsGo0W8M9I%3D&reserved=0) were enabled for metric alerts (e.g. Maps Accounts, App Configuration, Event Grid System Topics). **Alert on virtual machine network metrics** Alerting on the following network metrics of virtual machines is now supported: Network In Total, Network Out Total, Inbound Flows, Outbound Flows, Inbound Flows Maximum Creation Rate, Outbound Flows Maximum Creation Rate. **Create an alert rule on a custom metric that hasn‘t been emitted yet** You can now create [alert rules on a custom metric even before it’s been emitted](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-monitor%2Fplatform%2Falerts-troubleshoot-metric%23define-an-alert-rule-on-a-custom-metric-that-isnt-emitted-yet&data=02%7C01%7Charelbr%40microsoft.com%7Cdc30e9a777d24c08f73808d83469115f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637316973152226998&sdata=TjlpPezMmx54eRjg7NB9Byd%2BlxFhwDXqkrdi7WJDa4g%3D&reserved=0). **Define up to five conditions for metric alert rules created via the Azure portal** You can now configure up to five multiple conditions in one alert rule, which “ands” the conditions together. **Exclude dimension values for metric alert rules created via the Azure portal** When defining an alert rule on a metric that exposes dimensions via the Azure portal, you can choose to exclude a dimension value by selecting the ' ' (exclude) operator. **PowerShell enhancements** When creating or updating a metric alert rule using the [Add-AzMetricAlertRuleV2](https://docs.microsoft.com/powershell/module/az.monitor/Add-AzMetricAlertRuleV2) cmdlet, you can associate it with an action group by simply assigning the -ActionGroupId parameter. Also, creating a metric alert rule that monitors an Application Insights availability test is now available via a dedicated PowerShell cmdlet [Add-AzWebtestAlertRule](https://docs.microsoft.com/powershell/module/az.monitor/Add-AzWebtestAlertRule). [Learn More](https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-metric-overview) * Azure Monitor * Features * [ Azure Monitor](https://azure.microsoft.com/en-gb/services/monitor/)