Supported resources for metric alerts in Azure Monitor
Azure Monitor now supports a new metric alert type, which has significant benefits over the older classic metric alerts. Metrics are available for a large list of Azure services. The newer alerts support a growing subset of the resource types. This article lists that subset.
You can also use newer metric alerts on popular log data stored in a Log Analytics workspace extracted as metrics. For more information, see Metric Alerts for Logs.
Portal, PowerShell, CLI, and REST support
Currently, you can create newer metric alerts only in the Azure portal, the REST API, or Azure Resource Manager templates. Support for configuring newer alerts by using PowerShell and the Azure CLI versions 2.0 and higher is coming soon.
Metrics and dimensions supported
Newer metric alerts support alerting for metrics that use dimensions. You can use dimensions to filter your metric to the proper level. All supported metrics along with applicable dimensions can be explored and visualized from Azure Monitor - Metrics explorer.
Here's the full list of Azure Monitor metric sources supported by the newer alerts:
Resource type | Dimensions supported | Multi-resource alerts | Metrics available |
---|---|---|---|
Microsoft.Aadiam/azureADMetrics | Yes | No | Azure Active Directory (metrics in private preview) |
Microsoft.ApiManagement/service | Yes | No | Azure API Management |
Microsoft.App/containerApps | Yes | No | Azure Container Apps |
Microsoft.AppConfiguration/configurationStores | Yes | No | Azure App Configuration |
Microsoft.AppPlatform/spring | Yes | No | Azure Spring Cloud |
Microsoft.Automation/automationAccounts | Yes | No | Azure Automation accounts |
Microsoft.AVS/privateClouds | No | No | Azure VMware Solution |
Microsoft.Batch/batchAccounts | Yes | No | Azure Batch accounts |
Microsoft.Bing/accounts | Yes | No | Bing accounts |
Microsoft.BotService/botServices | Yes | No | Azure Bot Service |
Microsoft.Cache/redis | Yes | Yes | Azure Cache for Redis |
Microsoft.Cache/redisEnterprise | Yes | No | Azure Cache for Redis Enterprise |
microsoft.Cdn/profiles | Yes | No | Azure Content Delivery Network profiles |
Microsoft.ClassicCompute/domainNames/slots/roles | No | No | Azure Cloud Services (classic) |
Microsoft.ClassicCompute/virtualMachines | No | No | Azure Virtual Machines (classic) |
Microsoft.ClassicStorage/storageAccounts | Yes | No | Azure Storage accounts (classic) |
Microsoft.ClassicStorage/storageAccounts/blobServices | Yes | No | Azure Blob Storage accounts (classic) |
Microsoft.ClassicStorage/storageAccounts/fileServices | Yes | No | Azure Files storage accounts (classic) |
Microsoft.ClassicStorage/storageAccounts/queueServices | Yes | No | Azure Queue Storage accounts (classic) |
Microsoft.ClassicStorage/storageAccounts/tableServices | Yes | No | Azure Table Storage accounts (classic) |
Microsoft.CloudTest/hostedpools | Yes | No | 1ES Hosted Pools |
Microsoft.CloudTest/pools | Yes | No | CloudTest Pools |
Microsoft.CognitiveServices/accounts | Yes | No | Azure Cognitive Services |
Microsoft.Compute/cloudServices | Yes | No | Azure Cloud Services |
Microsoft.Compute/cloudServices/roles | Yes | No | Azure Cloud Services roles |
Microsoft.Compute/virtualMachines | Yes | Yes1 | Azure Virtual Machines |
Microsoft.Compute/virtualMachineScaleSets | Yes | No | Azure Virtual Machine Scale Sets |
Microsoft.Communication/CommunicationServices | Yes | No | Communication Services |
Microsoft.ConnectedVehicle/platformAccounts | Yes | No | Connected Vehicle Platform Accounts |
Microsoft.ContainerInstance/containerGroups | Yes | No | Container groups |
Microsoft.ContainerRegistry/registries | No | No | Azure Container Registry |
Microsoft.ContainerService/managedClusters | Yes | No | Managed clusters |
Microsoft.DataBoxEdge/dataBoxEdgeDevices | Yes | Yes | Azure Data Box |
Microsoft.DataFactory/datafactories | Yes | No | Azure Data Factory V1 |
Microsoft.DataFactory/factories | Yes | No | Azure Data Factory V2 |
Microsoft.DataProtection/backupVaults | Yes | Yes | Azure Backup vaults |
Microsoft.DataShare/accounts | Yes | No | Azure Data Share |
Microsoft.DBforMariaDB/servers | No | No | Azure Database for MariaDB |
Microsoft.DBforMySQL/servers | No | No | Azure Database for MySQL |
Microsoft.DBforPostgreSQL/flexibleServers | Yes | Yes | Azure Database for PostgreSQL (flexible servers) |
Microsoft.DBforPostgreSQL/serverGroupsv2 | Yes | No | Azure Database for PostgreSQL (hyperscale) |
Microsoft.DBforPostgreSQL/servers | No | No | Azure Database for PostgreSQL |
Microsoft.DBforPostgreSQL/serversv2 | No | No | Azure Database for PostgreSQL V2 |
Microsoft.Devices/IotHubs | Yes | No | Azure IoT Hub |
Microsoft.Devices/provisioningServices | Yes | No | Device Provisioning Service |
Microsoft.DigitalTwins/digitalTwinsInstances | Yes | No | Azure Digital Twins |
Microsoft.DocumentDB/databaseAccounts | Yes | No | Azure Cosmos DB |
Microsoft.EventGrid/domains | Yes | No | Azure Event Grid domains |
Microsoft.EventGrid/systemTopics | Yes | No | Azure Event Grid system topics |
Microsoft.EventGrid/topics | Yes | No | Azure Event Grid topics |
Microsoft.EventHub/clusters | Yes | No | Azure Event Hubs clusters |
Microsoft.EventHub/namespaces | Yes | No | Azure Event Hubs |
Microsoft.HDInsight/clusters | Yes | No | Azure HDInsight clusters |
Microsoft.Insights/Components | Yes | No | Application Insights |
Microsoft.KeyVault/vaults | Yes | Yes | Azure Key Vault |
Microsoft.Kusto/Clusters | Yes | No | Data explorer clusters |
Microsoft.Logic/integrationServiceEnvironments | Yes | No | Azure Integration Services environments |
Microsoft.Logic/workflows | No | No | Azure Logic Apps |
Microsoft.MachineLearningServices/workspaces | Yes | No | Azure Machine Learning |
Microsoft.MachineLearningServices/workspaces/onlineEndpoints | Yes | No | Azure Machine Learning endpoints |
Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments | Yes | No | Azure Machine Learning endpoint deployments |
Microsoft.ManagedNetworkFabric/networkDevices | Yes | No | Managed Network Fabric Devices |
Microsoft.Maps/accounts | Yes | No | Azure Maps accounts |
Microsoft.Media/mediaservices | No | No | Azure Media Services |
Microsoft.Media/mediaservices/liveEvents | Yes | No | Azure Media Services Live Events |
Microsoft.Media/mediaservices/streamingEndpoints | Yes | No | Azure Media Services streaming endpoints |
Microsoft.Monitor/accounts | Yes | No | Azure Monitor workspaces |
Microsoft.NetApp/netAppAccounts/capacityPools | Yes | Yes | Azure NetApp Files capacity pools |
Microsoft.NetApp/netAppAccounts/capacityPools/volumes | Yes | Yes | Azure NetApp Files volumes |
Microsoft.Network/applicationGateways | Yes | No | Azure Application Gateway |
Microsoft.Network/azureFirewalls | Yes | No | Azure Firewall |
microsoft.Network/networkWatchers/connectionMonitors | Yes | No | Connection Monitors |
Microsoft.Network/dnsZones | No | No | Azure DNS zones |
Microsoft.Network/expressRouteCircuits | Yes | No | Azure ExpressRoute circuits |
Microsoft.Network/expressRouteGateways | Yes | No | Azure ExpressRoute gateways |
Microsoft.Network/expressRoutePorts | Yes | No | Azure ExpressRoute direct |
Microsoft.Network/loadBalancers (only for Standard SKUs) | Yes | No | Azure Load Balancer |
Microsoft.Network/natGateways | No | No | NAT Gateway |
Microsoft.Network/privateEndpoints | No | No | Private endpoints |
Microsoft.Network/privateLinkServices | No | No | Azure Private Link services |
Microsoft.Network/publicipaddresses | No | No | Public IP addresses |
Microsoft.Network/trafficManagerProfiles | Yes | No | Azure Traffic Manager profiles |
Microsoft.OperationalInsights/workspaces | Yes | No | Log Analytics workspaces |
Microsoft.Peering/peerings | Yes | No | Azure Peering Service |
Microsoft.Peering/peeringServices | Yes | No | Azure Peering Service |
Microsoft.PowerBIDedicated/capacities | No | No | Power BI dedicated capacities |
Microsoft.Purview/accounts | Yes | No | Azure Purview accounts |
Microsoft.RecoveryServices/vaults | Yes | Yes | Recovery Services vaults |
Microsoft.Relay/namespaces | Yes | No | Relays |
Microsoft.Search/searchServices | Yes | No | Search services |
Microsoft.ServiceBus/namespaces | Yes | No | Azure Service Bus |
Microsoft.SignalRService/WebPubSub | Yes | No | Azure Web PubSub service |
Microsoft.Sql/managedInstances | No | No | Azure SQL Managed Instance |
Microsoft.Sql/servers/databases | No | Yes | Azure SQL Database |
Microsoft.Sql/servers/elasticPools | No | Yes | Azure SQL Database elastic pools |
Microsoft.Storage/storageAccounts | Yes | No | Azure Storage accounts |
Microsoft.Storage/storageAccounts/blobServices | Yes | No | Azure Blob Storage accounts |
Microsoft.Storage/storageAccounts/fileServices | Yes | No | Azure Files storage accounts |
Microsoft.Storage/storageAccounts/queueServices | Yes | No | Azure Queue Storage accounts |
Microsoft.Storage/storageAccounts/tableServices | Yes | No | Azure Table Storage accounts |
Microsoft.StorageCache/caches | Yes | No | Azure HPC Cache |
Microsoft.StorageSync/storageSyncServices | Yes | No | Storage sync services |
Microsoft.StreamAnalytics/streamingjobs | Yes | No | Azure Stream Analytics |
Microsoft.Synapse/workspaces | Yes | No | Azure Synapse Analytics |
Microsoft.Synapse/workspaces/bigDataPools | Yes | No | Azure Synapse Analytics Apache Spark pools |
Microsoft.Synapse/workspaces/sqlPools | Yes | No | Azure Synapse Analytics SQL pools |
Microsoft.VMWareCloudSimple/virtualMachines | Yes | No | CloudSimple virtual machines |
Microsoft.Web/containerApps | Yes | No | Azure Container Apps |
Microsoft.Web/hostingEnvironments/multiRolePools | Yes | No | Azure App Service environment multi-role pools |
Microsoft.Web/hostingEnvironments/workerPools | Yes | No | Azure App Service environment worker pools |
Microsoft.Web/serverfarms | Yes | No | Azure App Service plans |
Microsoft.Web/sites | Yes | No | Azure App Service and Azure Functions |
Microsoft.Web/sites/slots | Yes | No | Azure App Service slots |
1 Not supported for virtual machine network metrics such as Network In Total, Network Out Total, Inbound Flows, Outbound Flows, Inbound Flows Maximum Creation Rate, and Outbound Flows Maximum Creation Rate. Also not supported for custom metrics.
Payload schema
Note
You can also use the common alert schema, which provides the advantage of having a single extensible and unified alert payload across all the alert services in Azure Monitor, for your webhook integrations.
The POST operation contains the following JSON payload and schema for all near newer metric alerts when an appropriately configured action group is used:
{
"schemaId": "AzureMonitorMetricAlert",
"data": {
"version": "2.0",
"status": "Activated",
"context": {
"timestamp": "2018-02-28T10:44:10.1714014Z",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Contoso/providers/microsoft.insights/metricAlerts/StorageCheck",
"name": "StorageCheck",
"description": "",
"conditionType": "SingleResourceMultipleMetricCriteria",
"severity":"3",
"condition": {
"windowSize": "PT5M",
"allOf": [
{
"metricName": "Transactions",
"metricNamespace":"microsoft.storage/storageAccounts",
"dimensions": [
{
"name": "AccountResourceId",
"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Contoso/providers/Microsoft.Storage/storageAccounts/diag500"
},
{
"name": "GeoType",
"value": "Primary"
}
],
"operator": "GreaterThan",
"threshold": "0",
"timeAggregation": "PT5M",
"metricValue": 1
}
]
},
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "Contoso",
"resourceName": "diag500",
"resourceType": "Microsoft.Storage/storageAccounts",
"resourceId": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/Contoso/providers/Microsoft.Storage/storageAccounts/diag500",
"portalLink": "https://portal.azure.com/#resource//subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Contoso/providers/Microsoft.Storage/storageAccounts/diag500"
},
"properties": {
"key1": "value1",
"key2": "value2"
}
}
}
Next steps
- Learn more about the new alerts experience.
- Learn about log alerts in Azure.
- Learn about alerts in Azure.
Feedback
Submit and view feedback for