Azure Monitor 指标警报支持的资源

本文列出了指标警报支持的 Azure Monitor 指标子集。

还可以对提取为指标的常用日志数据(在 Log Analytics 工作区中存储)使用新型警报。 有关详细信息,请参阅日志的指标警报

你可以在 Azure 门户、REST APIAzure 资源管理器模板中创建指标警报。

指标和维度支持

指标警报支持针对使用维度的指标发出警报。 可以使用维度将指标筛选到适当级别。 所有受支持的指标以及适用的维度都可使用 Azure Monitor 指标浏览器进行浏览和可视化。

下面是指标警报支持的 Azure Monitor 指标源的完整列表:

资源类型 支持维度 多资源警报 可用指标
Microsoft.ApiManagement/service Azure API 管理
Microsoft.App/containerApps Azure Container Apps
Microsoft.AppConfiguration/configurationStores Azure 应用配置
Microsoft.AppPlatform/spring Azure Spring Cloud
Microsoft.Automation/automationAccounts Azure 自动化帐户
Microsoft.AVS/privateClouds Azure VMware 解决方案
Microsoft.Batch/batchAccounts Azure Batch 帐户
Microsoft.Bing/accounts 必应帐户
Microsoft.BotService/botServices Azure 机器人服务
Microsoft.Cache/redis 用于 Redis 的 Azure 缓存
Microsoft.Cache/redisEnterprise Azure Cache for Redis Enterprise
microsoft.Cdn/profiles Azure 内容分发网络配置文件
Microsoft.ClassicCompute/domainNames/slots/roles Azure 云服务(经典)
Microsoft.ClassicCompute/virtualMachines Azure 虚拟机(经典)
Microsoft.ClassicStorage/storageAccounts Azure 存储帐户(经典)
Microsoft.ClassicStorage/storageAccounts/blobServices Azure Blob 存储帐户(经典)
Microsoft.ClassicStorage/storageAccounts/fileServices Azure 文件存储帐户(经典)
Microsoft.ClassicStorage/storageAccounts/queueServices Azure 队列存储帐户(经典)
Microsoft.ClassicStorage/storageAccounts/tableServices Azure 表存储帐户(经典)
Microsoft.CognitiveServices/accounts Azure AI 服务
Microsoft.Compute/cloudServices Azure 云服务
Microsoft.Compute/cloudServices/roles Azure 云服务角色
Microsoft.Compute/virtualMachines 1 Azure 虚拟机
Microsoft.Compute/virtualMachineScaleSets Azure 虚拟机规模集
Microsoft.Communication/CommunicationServices 通信服务
Microsoft.ConnectedVehicle/platformAccounts 互联车辆平台帐户
Microsoft.ContainerInstance/containerGroups 容器组
Microsoft.ContainerRegistry/registries Azure 容器注册表
Microsoft.ContainerService/managedClusters 托管群集
Microsoft.DataBoxEdge/dataBoxEdgeDevices Azure Data Box
Microsoft.DataFactory/datafactories Azure 数据工厂 V1
Microsoft.DataFactory/factories Azure 数据工厂 V2
Microsoft.DataProtection/backupVaults Azure 备份保管库
Microsoft.DataShare/accounts Azure Data Share
Microsoft.DBforMariaDB/servers Azure Database for MariaDB
Microsoft.DBforMySQL/servers Azure Database for MySQL
Microsoft.DBforPostgreSQL/flexibleServers Azure Database for PostgreSQL(灵活服务器)
Microsoft.DBforPostgreSQL/serverGroupsv2 Azure Database for PostgreSQL(超大规模)
Microsoft.DBforPostgreSQL/servers Azure Database for PostgreSQL
Microsoft.DBforPostgreSQL/serversv2 Azure Database for PostgreSQL V2
Microsoft.Devices/IotHubs Azure IoT 中心
Microsoft.Devices/provisioningServices 设备预配服务
Microsoft.DigitalTwins/digitalTwinsInstances Azure 数字孪生
Microsoft.DocumentDB/databaseAccounts Azure Cosmos DB
Microsoft.EventGrid/domains Azure 事件网格域
Microsoft.EventGrid/systemTopics Azure 事件网格系统主题
Microsoft.EventGrid/topics Azure 事件网格主题
Microsoft.EventHub/clusters Azure 事件中心群集
Microsoft.EventHub/namespaces Azure 事件中心
Microsoft.HDInsight/clusters Azure HDInsight 群集
Microsoft.Insights/Components Application Insights
Microsoft.KeyVault/vaults Azure Key Vault
Microsoft.Kusto/Clusters 数据资源管理器群集
Microsoft.Logic/integrationServiceEnvironments Azure Integration Services 环境
Microsoft.Logic/workflows Azure 逻辑应用
Microsoft.MachineLearningServices/workspaces Azure 机器学习
Microsoft.MachineLearningServices/workspaces/onlineEndpoints Azure 机器学习终结点
Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments Azure 机器学习终结点部署
Microsoft.ManagedNetworkFabric/networkDevices 托管网络构造设备
Microsoft.Maps/accounts Azure Maps 帐户
Microsoft.Media/mediaservices Azure 媒体服务
Microsoft.Media/mediaservices/liveEvents Azure 媒体服务实时事件
Microsoft.Media/mediaservices/streamingEndpoints Azure 媒体服务流式处理终结点
Microsoft.Monitor/accounts Azure Monitor 工作区
Microsoft.NetApp/netAppAccounts/capacityPools Azure NetApp 文件容量池
Microsoft.NetApp/netAppAccounts/capacityPools/volumes Azure NetApp 文件卷
Microsoft.Network/applicationGateways Azure 应用程序网关
Microsoft.Network/azureFirewalls Azure 防火墙
microsoft.Network/networkWatchers/connectionMonitors 连接监视器
Microsoft.Network/dnsZones Azure DNS 区域
Microsoft.Network/expressRouteCircuits Azure ExpressRoute 线路
Microsoft.Network/expressRouteGateways Azure ExpressRoute 网关
Microsoft.Network/expressRoutePorts Azure ExpressRoute Direct
Microsoft.Network/loadBalancers(仅限标准 SKU) Azure 负载均衡器
Microsoft.Network/natGateways NAT 网关
Microsoft.Network/privateEndpoints 专用终结点
Microsoft.Network/privateLinkServices Azure 专用链接资源
Microsoft.Network/publicipaddresses 公共 IP 地址
Microsoft.Network/trafficManagerProfiles Azure 流量管理器配置文件
Microsoft.OperationalInsights/workspaces Log Analytics 工作区
Microsoft.Peering/peerings Azure 对等互连服务
Microsoft.Peering/peeringServices Azure 对等互连服务
Microsoft.PowerBIDedicated/capacities Power BI 专用容量
Microsoft.Purview/accounts Azure Purview 帐户
Microsoft.RecoveryServices/vaults 恢复服务保管库
Microsoft.Relay/namespaces 中继
Microsoft.Search/searchServices 搜索服务
Microsoft.ServiceBus/namespaces Azure 服务总线
Microsoft.SignalRService/WebPubSub Azure Web PubSub 服务
Microsoft.Sql/managedInstances Azure SQL 托管实例
Microsoft.Sql/servers/databases Azure SQL 数据库
Microsoft.Sql/servers/elasticPools Azure SQL 数据库弹性池
Microsoft.Storage/storageAccounts Azure 存储帐户
Microsoft.Storage/storageAccounts/blobServices Azure Blob 存储帐户
Microsoft.Storage/storageAccounts/fileServices Azure 文件存储帐户
Microsoft.Storage/storageAccounts/queueServices Azure 队列存储帐户
Microsoft.Storage/storageAccounts/tableServices Azure 表存储帐户
Microsoft.StorageCache/caches Azure HPC 缓存
Microsoft.StorageSync/storageSyncServices 存储同步服务
Microsoft.StreamAnalytics/streamingjobs Azure 流分析
Microsoft.Synapse/workspaces Azure Synapse Analytics
Microsoft.Synapse/workspaces/bigDataPools Azure Synapse Analytics Apache Spark 池
Microsoft.Synapse/workspaces/sqlPools Azure Synapse Analytics SQL 池
Microsoft.VMWareCloudSimple/virtualMachines CloudSimple 虚拟机
Microsoft.Web/containerApps Azure Container Apps
Microsoft.Web/hostingEnvironments/multiRolePools Azure 应用服务环境多角色池
Microsoft.Web/hostingEnvironments/workerPools Azure 应用服务环境工作线程池
Microsoft.Web/serverfarms Azure 应用服务计划
Microsoft.Web/sites Azure 应用服务和 Azure Functions
Microsoft.Web/sites/slots Azure 应用服务槽

1 不支持虚拟机网络指标(总网络流入量、总网络流出量、入站流数、出站流数、入站流最大创建速率和出站流最大创建速率等)。 也不支持自定义指标。

负载架构

使用常见警报架构来进行 Webhook 集成,该架构将跨 Azure Monitor 中的所有警报服务使用单个可扩展且统一的警报有效负载。

后续步骤