Supported metrics with Azure Monitor

Note

This list is largely auto-generated. Any modification made to this list via GitHub might be written over without warning. Contact the author of this article for details on how to make permanent updates.

Last updated: 02/21/2024.

Azure Monitor provides several ways to interact with metrics, including charting them in the Azure portal, accessing them through the REST API, or querying them by using PowerShell or the Azure CLI (Command Line Interface).

This article is a complete list of all platform (that is, automatically collected) metrics currently available with the consolidated metric pipeline in Azure Monitor. Metrics changed or added after the date at the top of this article might not yet appear in the list. To query for and access the list of metrics programmatically, use the 2018-01-01 api-version. Other metrics not in this list might be available in the portal or through legacy APIs.

The metrics are organized by resource provider and resource type. For a list of services and the resource providers and types that belong to them, see Resource providers for Azure services.

Exporting platform metrics to other locations

You can export the platform metrics from the Azure monitor pipeline to other locations in one of two ways:

  • Use the metrics REST API.
  • Use diagnostic settings to route platform metrics to:
    • Azure Storage.
    • Azure Monitor Logs (and thus Log Analytics).
    • Event hubs, which is how you get them to non-Microsoft systems.

Using diagnostic settings is the easiest way to route the metrics, but there are some limitations:

  • Exportability. All metrics are exportable through the REST API, but some can't be exported through diagnostic settings because of intricacies in the Azure Monitor back end. The column "Exportable via Diagnostic Settings" in the following tables lists which metrics can be exported in this way.

  • Multi-dimensional metrics. Sending multi-dimensional metrics to other locations via diagnostic settings is not currently supported. Metrics with dimensions are exported as flattened single-dimensional metrics, aggregated across dimension values.

    For example, the Incoming Messages metric on an event hub can be explored and charted on a per-queue level. But when the metric is exported via diagnostic settings, it will be represented as all incoming messages across all queues in the event hub.

Guest OS and host OS metrics

Metrics for the guest operating system (guest OS) that runs in Azure Virtual Machines, Service Fabric, and Cloud Services are not listed here. Guest OS metrics must be collected through one or more agents that run on or as part of the guest operating system. Guest OS metrics include performance counters that track guest CPU percentage or memory usage, both of which are frequently used for autoscaling or alerting.

Host OS metrics are available and listed in the tables. Host OS metrics relate to the Hyper-V session that's hosting your guest OS session.

Tip

A best practice is to use and configure the Azure Monitor agent to send guest OS performance metrics into the same Azure Monitor metric database where platform metrics are stored. The agent routes guest OS metrics through the custom metrics API. You can then chart, alert, and otherwise use guest OS metrics like platform metrics.

Alternatively or in addition, you can send the guest OS metrics to Azure Monitor Logs by using the same agent. There you can query on those metrics in combination with non-metric data by using Log Analytics. Standard Log Analytics workspace costs would then apply.

The Azure Monitor agent replaces the Azure Diagnostics extension and Log Analytics agent, which were previously used for guest OS routing. For important additional information, see Overview of Azure Monitor agents.

Supported metrics per resource type

Following table lists log categories and metrics available for each resource type.

Resource Provider Log Categories Metrics
Microsoft.AAD DomainServices
DomainServices
Microsoft.AgFoodPlatform farmBeats
N/A
Microsoft.AnalysisServices servers
servers
Microsoft.ApiManagement service
service
Microsoft.App managedEnvironments
containerapps
managedEnvironments
Microsoft.AppConfiguration configurationStores
configurationStores
Microsoft.AppPlatform Spring
Spring
Microsoft.Attestation attestationProviders
N/A
Microsoft.Automation automationAccounts
automationAccounts
Microsoft.
AutonomousDevelopmentPlatform
accounts
workspaces
N/A
microsoft.avs privateClouds
privateClouds
Microsoft.AzureDataTransfer connections/flows
N/A
microsoft.
azureplaywrightservice
accounts
N/A
microsoft.azuresphere catalogs
catalogs
Microsoft.Batch batchaccounts
batchaccounts
microsoft.botservice botservices
botservices
Microsoft.Cache redis
redisEnterprise/databases
redis
redisEnterprise
Microsoft.Cdn cdnwebapplicationfirewallpolicies
profiles
profiles/endpoints
cdnwebapplicationfirewallpolicies
profiles
Microsoft.Chaos experiments
N/A
Microsoft.ClassicNetwork networksecuritygroups
N/A
Microsoft.Cloudtest hostedpools
hostedpools
pools
Microsoft.CodeSigning codesigningaccounts
codesigningaccounts
Microsoft.CognitiveServices accounts
accounts
Microsoft.Communication CommunicationServices
CommunicationServices
microsoft.community communityTrainings
N/A
Microsoft.Compute virtualMachines
cloudservices
cloudServices/roles
virtualMachines
virtualmachineScaleSets
virtualMachineScaleSets/virtualMachines
Microsoft.ConfidentialLedger ManagedCCF
ManagedCCFs
N/A
Microsoft.ConnectedCache CacheNodes
enterpriseMccCustomers
ispCustomers
CacheNodes
enterpriseMccCustomers
ispCustomers
Microsoft.ConnectedVehicle platformAccounts
platformAccounts
Microsoft.ContainerInstance containerGroups
containerGroups
containerScaleSets
Microsoft.ContainerRegistry registries
registries
Microsoft.ContainerService fleets
managedClusters
managedClusters
Microsoft.CustomProviders resourceproviders
resourceproviders
Microsoft.D365CustomerInsights instances
N/A
Microsoft.Dashboard grafana
grafana
Microsoft.Databricks workspaces
N/A
Microsoft.DataFactory factories
datafactories
factories
Microsoft.DataLakeAnalytics accounts
accounts
Microsoft.DataLakeStore accounts
accounts
Microsoft.DataProtection BackupVaults
BackupVaults
Microsoft.DataShare accounts
accounts
Microsoft.DBforMariaDB servers
servers
Microsoft.DBforMySQL flexibleServers
servers
flexibleServers
servers
Microsoft.DBforPostgreSQL flexibleServers
servers
serversv2
flexibleServers
servers
serversv2
Microsoft.DBForPostgreSQL serverGroupsv2
serverGroupsv2
Microsoft.
DesktopVirtualization
applicationgroups
hostpools
scalingplans
workspaces
N/A
Microsoft.DevCenter devcenters
devcenters
Microsoft.Devices IotHubs
provisioningServices
IotHubs
provisioningServices
Microsoft.DigitalTwins digitalTwinsInstances
digitalTwinsInstances
Microsoft.DocumentDB cassandraClusters
DatabaseAccounts
mongoClusters
cassandraClusters
DatabaseAccounts
mongoClusters
Microsoft.EventGrid domains
namespaces
partnerNamespaces
partnerTopics
systemTopics
topics
domains
eventSubscriptions
extensionTopics
namespaces
partnerNamespaces
partnerTopics
systemTopics
topics
Microsoft.EventHub Namespaces
clusters
Namespaces
Microsoft.HealthcareApis services
workspaces/dicomservices
workspaces/fhirservices
workspaces/iotconnectors
services
workspaces/dicomservices
workspaces/fhirservices
workspaces/iotconnectors
microsoft.insights autoscalesettings
components
autoscalesettings
components
Microsoft.Insights datacollectionrules
datacollectionrules
microsoft.keyvault managedhsms
managedhsms
Microsoft.KeyVault vaults
vaults
microsoft.kubernetes connectedClusters
connectedClusters
Microsoft.Kusto clusters
clusters
microsoft.loadtestservice loadtests
N/A
Microsoft.Logic IntegrationAccounts
Workflows
IntegrationServiceEnvironments
Workflows
Microsoft.
MachineLearningServices
registries
workspaces
workspaces/onlineEndpoints
workspaces
workspaces/onlineEndpoints
workspaces/onlineEndpoints/deployments
Microsoft.ManagedNetworkFabric networkDevices
internetGateways
l3IsolationDomains
networkDevices
Microsoft.Media mediaservices
mediaservices/liveEvents
mediaservices/streamingEndpoints
videoanalyzers
mediaservices
mediaservices/liveEvents
mediaservices/streamingEndpoints
videoanalyzers
Microsoft.NetApp netAppAccounts/capacityPools
netAppAccounts/capacityPools/volumes
netAppAccounts/capacityPools
netAppAccounts/capacityPools/volumes
Microsoft.Network applicationgateways
azureFirewalls
dnsResolverPolicies
expressRouteCircuits
frontdoors
loadBalancers
networkManagers
networkManagers/ipamPools
networksecuritygroups
networkSecurityPerimeters
networkSecurityPerimeters/profiles
publicIPAddresses
publicIPPrefixes
trafficManagerProfiles
virtualNetworks
applicationgateways
azureFirewalls
connections
dnsForwardingRulesets
dnsResolvers
dnszones
expressRouteCircuits
expressRouteCircuits/peerings
expressRoutePorts
frontdoors
loadBalancers
natGateways
networkInterfaces
networkManagers/ipamPools
networkWatchers/connectionMonitors
privateDnsZones
privateEndpoints
privateLinkServices
publicIPAddresses
publicIPPrefixes
trafficManagerProfiles
virtualHubs
virtualNetworks
virtualRouters
microsoft.network bastionHosts
p2svpngateways
virtualnetworkgateways
vpngateways
bastionHosts
expressroutegateways
p2svpngateways
virtualnetworkgateways
vpngateways
Microsoft.NetworkAnalytics DataProducts
N/A
Microsoft.NetworkCloud bareMetalMachines
clusters
storageAppliances
bareMetalMachines
clusters
storageAppliances
Microsoft.NetworkFunction azureTrafficCollectors
azureTrafficCollectors
Microsoft.NotificationHubs namespaces
namespaces/notificationHubs
namespaces/notificationHubs
MICROSOFT.OPENENERGYPLATFORM ENERGYSERVICES
N/A
Microsoft.
OpenLogisticsPlatform
Workspaces
N/A
Microsoft.OperationalInsights workspaces
workspaces
Microsoft.PlayFab titles
titles
Microsoft.PowerBI tenants
tenants/workspaces
N/A
Microsoft.PowerBIDedicated capacities
capacities
Microsoft.ProviderHub providerRegistrations
N/A
microsoft.purview accounts
accounts
Microsoft.RecoveryServices Vaults
Vaults
Microsoft.Relay namespaces
namespaces
Microsoft.Search searchServices
searchServices
Microsoft.Security antiMalwareSettings
defenderForStorageSettings
N/A
microsoft.securityinsights settings
N/A
Microsoft.ServiceBus Namespaces
Namespaces
Microsoft.ServiceNetworking trafficControllers
trafficControllers
Microsoft.SignalRService SignalR
SignalR/replicas
WebPubSub
WebPubSub/replicas
SignalR
SignalR/replicas
WebPubSub
WebPubSub/replicas
microsoft.singularity accounts
accounts
Microsoft.Sql managedInstances
managedInstances/databases
servers/databases
managedInstances
servers/databases
servers/elasticpools
servers/jobAgents
Microsoft.Storage storageAccounts/blobServices
storageAccounts/fileServices
storageAccounts/queueServices
storageAccounts/tableServices
storageAccounts
storageAccounts/blobServices
storageAccounts/fileServices
storageAccounts/objectReplicationPolicies
storageAccounts/queueServices
storageAccounts/storageTasks
storageAccounts/tableServices
storageTasks
Microsoft.StorageCache amlFilesystems
caches
amlFilesystems
caches
Microsoft.StorageMover storageMovers
storageMovers
Microsoft.StreamAnalytics streamingjobs
streamingjobs
Microsoft.Synapse workspaces
workspaces/bigDataPools
workspaces/kustoPools
workspaces/scopePools
workspaces/sqlPools
workspaces
workspaces/bigDataPools
workspaces/kustoPools
workspaces/scopePools
workspaces/sqlPools
Microsoft.TimeSeriesInsights environments
environments/eventsources
environments
environments/eventsources
microsoft.videoindexer accounts
N/A
Microsoft.Web hostingEnvironments
sites
sites/slots
staticsites
containerapps
hostingEnvironments
hostingenvironments/multirolepools
hostingenvironments/workerpools
serverfarms
sites
sites/slots
staticsites
microsoft.workloads sapvirtualinstances
N/A
NGINX.NGINXPLUS NGINX.NGINXPLUS/nginxDeployments
NGINX.NGINXPLUS/nginxDeployments
Microsoft.azurestackhci N/A clusters
microsoft.bing N/A accounts
Microsoft.BotService N/A botServices/channels
botServices/connections
checknameavailability
hostsettings
listauthserviceproviders
listqnamakerendpointkeys
Microsoft.ClassicCompute N/A domainNames/slots/roles
virtualMachines
Microsoft.ClassicStorage N/A storageAccounts
storageAccounts/blobServices
storageAccounts/fileServices
storageAccounts/queueServices
storageAccounts/tableServices
Microsoft.ClusterStor N/A nodes
microsoft.compute N/A disks
Microsoft.DataBoxEdge N/A dataBoxEdgeDevices
Microsoft.DevOpsInfrastructure N/A pools
microsoft.edgezones N/A edgezones
Microsoft.ElasticSan N/A elasticSans
Microsoft.HDInsight N/A clusters
Microsoft.HealthModel N/A healthmodels
Microsoft.
HybridContainerService
N/A provisionedClusters
microsoft.hybridnetwork N/A networkfunctions
virtualnetworkfunctions
Microsoft.IoTCentral N/A IoTApps
microsoft.
kubernetesconfiguration
N/A extensions
Microsoft.Maps N/A accounts
Microsoft.MixedReality N/A remoteRenderingAccounts
spatialAnchorsAccounts
Microsoft.MobileNetwork N/A packetcorecontrolplanes
packetcorecontrolplanes/packetcoredataplanes
Microsoft.Monitor N/A accounts
Microsoft.Orbital N/A contactProfiles
l2Connections
spacecrafts
terminals
Microsoft.Peering N/A peerings
peeringServices
microsoft.resources N/A subscriptions
microsoft.securitydetonation N/A chambers
Microsoft.SecurityDetonation N/A SecurityDetonationChambers
Microsoft.StorageActions N/A storageTasks
Microsoft.StorageSync N/A storageSyncServices
Microsoft.StorageTasks N/A storageTasks
Microsoft.VoiceServices N/A CommunicationsGateways
Oracle.Database N/A Oracle.Database/cloudVmClusters
Wandisco.Fusion N/A Wandisco.Fusion/migrators
Wandisco.Fusion/migrators/dataTransferAgents
Wandisco.Fusion/migrators/liveDataMigrations
Wandisco.Fusion/migrators/metadataMigrations

Next steps