Reference: Monitoring Azure virtual machine data

For more information about collecting and analyzing monitoring data for Azure virtual machines (VMs), see Monitoring Azure virtual machines.

Metrics

This section lists the platform metrics that are collected for Azure virtual machines and virtual machine scale sets.

Metric type Resource provider / type namespace
and link to individual metrics
Virtual machines Microsoft.Compute/virtualMachines
Virtual machine scale sets Microsoft.Compute/virtualMachineScaleSets
Virtual machine scale sets and virtual machines Microsoft.Compute/virtualMachineScaleSets/virtualMachines

For more information, see a list of platform metrics that are supported in Azure Monitor.

Metric dimensions

For more information about metric dimensions, see Multi-dimensional metrics.

Azure virtual machines and virtual machine scale sets have the following dimensions that are associated with their metrics.

Dimension name Description
LUN Logical unit number
VMName Used with virtual machine scale sets

Azure Monitor Logs tables

This section refers to all the Azure Monitor Logs tables that are relevant to virtual machines and virtual machine scale sets and available for query by Log Analytics.

Resource type Notes
Virtual machines
Virtual machine scale sets

For reference documentation about Azure Monitor Logs and Log Analytics tables, see the Azure Monitor Logs table reference.

Activity log

The following table lists a few example operations that relate to creating virtual machines in the activity log. For a complete list of possible log entries, see Microsoft.Compute Resource Provider options.

Operation Description
Microsoft.Compute/virtualMachines/start/action Starts the virtual machine
Microsoft.Compute/virtualMachines/restart/action Deletes a managed cluster
Microsoft.Compute/virtualMachines/write Creates a new virtual machine or updates an existing one
Microsoft.Compute/virtualMachines/deallocate/action Powers off the virtual machine and releases the compute resources
Microsoft.Compute/virtualMachines/extensions/write Creates a new virtual machine extension or updates an existing one
Microsoft.Compute/virtualMachineScaleSets/write Starts the instances of the virtual machine scale set

For more information about the schema of activity log entries, see Activity log schema.

See also

For a description of monitoring Azure virtual machines, see Monitoring Azure virtual machines.