Supported metrics for Microsoft.Compute/virtualMachineScaleSets/virtualMachines

The following table lists the metrics available for the Microsoft.Compute/virtualMachineScaleSets/virtualMachines resource type.

Table headings

Metric - The metric display name as it appears in the Azure portal.
Name in Rest API - Metric name as referred to in the REST API.
Unit - Unit of measure.
Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
Dimensions - Dimensions available for the metric.
Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
DS Export- Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.

For information on exporting metrics, see Create diagnostic settings in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Available Memory Bytes (Preview)

Amount of physical memory, in bytes, immediately available for allocation to a process or for system use in the Virtual Machine
Available Memory Bytes Bytes Average <none> PT1M Yes
CPU Credits Consumed

Total number of credits consumed by the Virtual Machine. Only available on B-series burstable VMs
CPU Credits Consumed Count Average <none> PT1M Yes
CPU Credits Remaining

Total number of credits available to burst. Only available on B-series burstable VMs
CPU Credits Remaining Count Average <none> PT1M Yes
Data Disk Bandwidth Consumed Percentage

Percentage of data disk bandwidth consumed per minute. Only available on VM series that support premium storage.
Data Disk Bandwidth Consumed Percentage Percent Average LUN PT1M Yes
Data Disk IOPS Consumed Percentage

Percentage of data disk I/Os consumed per minute. Only available on VM series that support premium storage.
Data Disk IOPS Consumed Percentage Percent Average LUN PT1M Yes
Data Disk Latency (Preview)

Average time to complete each IO during monitoring period for Data Disk. Values are in milliseconds.
Data Disk Latency Milliseconds Average LUN PT1M Yes
Data Disk Max Burst Bandwidth

Maximum bytes per second throughput Data Disk can achieve with bursting
Data Disk Max Burst Bandwidth Count Average LUN PT1M Yes
Data Disk Max Burst IOPS

Maximum IOPS Data Disk can achieve with bursting
Data Disk Max Burst IOPS Count Average LUN PT1M Yes
Data Disk Queue Depth

Data Disk Queue Depth(or Queue Length)
Data Disk Queue Depth Count Average LUN PT1M Yes
Data Disk Read Bytes/Sec

Bytes/Sec read from a single disk during monitoring period
Data Disk Read Bytes/sec BytesPerSecond Average LUN PT1M Yes
Data Disk Read Operations/Sec

Read IOPS from a single disk during monitoring period
Data Disk Read Operations/Sec CountPerSecond Average LUN PT1M Yes
Data Disk Target Bandwidth

Baseline bytes per second throughput Data Disk can achieve without bursting
Data Disk Target Bandwidth Count Average LUN PT1M Yes
Data Disk Target IOPS

Baseline IOPS Data Disk can achieve without bursting
Data Disk Target IOPS Count Average LUN PT1M Yes
Data Disk Used Burst BPS Credits Percentage

Percentage of Data Disk burst bandwidth credits used so far
Data Disk Used Burst BPS Credits Percentage Percent Average LUN PT1M Yes
Data Disk Used Burst IO Credits Percentage

Percentage of Data Disk burst I/O credits used so far
Data Disk Used Burst IO Credits Percentage Percent Average LUN PT1M Yes
Data Disk Write Bytes/Sec

Bytes/Sec written to a single disk during monitoring period
Data Disk Write Bytes/sec BytesPerSecond Average LUN PT1M Yes
Data Disk Write Operations/Sec

Write IOPS from a single disk during monitoring period
Data Disk Write Operations/Sec CountPerSecond Average LUN PT1M Yes
Disk Read Bytes

Bytes read from disk during monitoring period
Disk Read Bytes Bytes Total (Sum) <none> PT1M Yes
Disk Read Operations/Sec

Disk Read IOPS
Disk Read Operations/Sec CountPerSecond Average <none> PT1M Yes
Disk Write Bytes

Bytes written to disk during monitoring period
Disk Write Bytes Bytes Total (Sum) <none> PT1M Yes
Disk Write Operations/Sec

Disk Write IOPS
Disk Write Operations/Sec CountPerSecond Average <none> PT1M Yes
Inbound Flows

Inbound Flows are number of current flows in the inbound direction (traffic going into the VM)
Inbound Flows Count Average <none> PT1M Yes
Inbound Flows Maximum Creation Rate

The maximum creation rate of inbound flows (traffic going into the VM)
Inbound Flows Maximum Creation Rate CountPerSecond Average <none> PT1M Yes
Network In Billable (Deprecated)

The number of billable bytes received on all network interfaces by the Virtual Machine(s) (Incoming Traffic) (Deprecated)
Network In Bytes Total (Sum) <none> PT1M Yes
Network In Total

The number of bytes received on all network interfaces by the Virtual Machine(s) (Incoming Traffic)
Network In Total Bytes Total (Sum) <none> PT1M Yes
Network Out Billable (Deprecated)

The number of billable bytes out on all network interfaces by the Virtual Machine(s) (Outgoing Traffic) (Deprecated)
Network Out Bytes Total (Sum) <none> PT1M Yes
Network Out Total

The number of bytes out on all network interfaces by the Virtual Machine(s) (Outgoing Traffic)
Network Out Total Bytes Total (Sum) <none> PT1M Yes
OS Disk Bandwidth Consumed Percentage

Percentage of operating system disk bandwidth consumed per minute. Only available on VM series that support premium storage.
OS Disk Bandwidth Consumed Percentage Percent Average LUN PT1M Yes
OS Disk IOPS Consumed Percentage

Percentage of operating system disk I/Os consumed per minute. Only available on VM series that support premium storage.
OS Disk IOPS Consumed Percentage Percent Average LUN PT1M Yes
OS Disk Latency (Preview)

Average time to complete each IO during monitoring period for OS Disk. Values are in milliseconds.
OS Disk Latency Milliseconds Average <none> PT1M Yes
OS Disk Max Burst Bandwidth

Maximum bytes per second throughput OS Disk can achieve with bursting
OS Disk Max Burst Bandwidth Count Average LUN PT1M Yes
OS Disk Max Burst IOPS

Maximum IOPS OS Disk can achieve with bursting
OS Disk Max Burst IOPS Count Average LUN PT1M Yes
OS Disk Queue Depth

OS Disk Queue Depth(or Queue Length)
OS Disk Queue Depth Count Average <none> PT1M Yes
OS Disk Read Bytes/Sec

Bytes/Sec read from a single disk during monitoring period for OS disk
OS Disk Read Bytes/sec BytesPerSecond Average <none> PT1M Yes
OS Disk Read Operations/Sec

Read IOPS from a single disk during monitoring period for OS disk
OS Disk Read Operations/Sec CountPerSecond Average <none> PT1M Yes
OS Disk Target Bandwidth

Baseline bytes per second throughput OS Disk can achieve without bursting
OS Disk Target Bandwidth Count Average LUN PT1M Yes
OS Disk Target IOPS

Baseline IOPS OS Disk can achieve without bursting
OS Disk Target IOPS Count Average LUN PT1M Yes
OS Disk Used Burst BPS Credits Percentage

Percentage of OS Disk burst bandwidth credits used so far
OS Disk Used Burst BPS Credits Percentage Percent Average LUN PT1M Yes
OS Disk Used Burst IO Credits Percentage

Percentage of OS Disk burst I/O credits used so far
OS Disk Used Burst IO Credits Percentage Percent Average LUN PT1M Yes
OS Disk Write Bytes/Sec

Bytes/Sec written to a single disk during monitoring period for OS disk
OS Disk Write Bytes/sec BytesPerSecond Average <none> PT1M Yes
OS Disk Write Operations/Sec

Write IOPS from a single disk during monitoring period for OS disk
OS Disk Write Operations/Sec CountPerSecond Average <none> PT1M Yes
Outbound Flows

Outbound Flows are number of current flows in the outbound direction (traffic going out of the VM)
Outbound Flows Count Average <none> PT1M Yes
Outbound Flows Maximum Creation Rate

The maximum creation rate of outbound flows (traffic going out of the VM)
Outbound Flows Maximum Creation Rate CountPerSecond Average <none> PT1M Yes
Percentage CPU

The percentage of allocated compute units that are currently in use by the Virtual Machine(s)
Percentage CPU Percent Average <none> PT1M Yes
Premium Data Disk Cache Read Hit

Premium Data Disk Cache Read Hit
Premium Data Disk Cache Read Hit Percent Average LUN PT1M Yes
Premium Data Disk Cache Read Miss

Premium Data Disk Cache Read Miss
Premium Data Disk Cache Read Miss Percent Average LUN PT1M Yes
Premium OS Disk Cache Read Hit

Premium OS Disk Cache Read Hit
Premium OS Disk Cache Read Hit Percent Average <none> PT1M Yes
Premium OS Disk Cache Read Miss

Premium OS Disk Cache Read Miss
Premium OS Disk Cache Read Miss Percent Average <none> PT1M Yes
Temp Disk Latency (Preview)

Average time to complete each IO during monitoring period for Temp Disk. Values are in milliseconds.
Temp Disk Latency Milliseconds Average <none> PT1M Yes
Temp Disk Queue Depth

Temp Disk Queue Depth(or Queue Length).
Temp Disk Queue Depth Count Average <none> PT1M Yes
Temp Disk Read Bytes/Sec

Bytes/Sec read from a single disk during monitoring period for Temp Disk.
Temp Disk Read Bytes/sec BytesPerSecond Average <none> PT1M Yes
Temp Disk Read Operations/Sec

Read IOPS from a single disk during monitoring period for Temp Disk.
Temp Disk Read Operations/Sec CountPerSecond Average <none> PT1M Yes
Temp Disk Write Bytes/Sec

Bytes/Sec written to a single disk during monitoring period for Temp Disk.
Temp Disk Write Bytes/sec BytesPerSecond Average <none> PT1M Yes
Temp Disk Write Operations/Sec

Write IOPS from a single disk during monitoring period for Temp Disk.
Temp Disk Write Operations/Sec CountPerSecond Average <none> PT1M Yes
VM Cached Bandwidth Consumed Percentage

Percentage of cached disk bandwidth consumed by the VM. Only available on VM series that support premium storage.
VM Cached Bandwidth Consumed Percentage Percent Average <none> PT1M Yes
VM Cached IOPS Consumed Percentage

Percentage of cached disk IOPS consumed by the VM. Only available on VM series that support premium storage.
VM Cached IOPS Consumed Percentage Percent Average <none> PT1M Yes
VM Cached Used Burst BPS Credits Percentage

Percentage of Cached Burst BPS Credits used by the VM.
VM Local Used Burst BPS Credits Percentage Percent Average, Minimum, Maximum <none> PT1M Yes
VM Cached Used Burst IO Credits Percentage

Percentage of Cached Burst IO Credits used by the VM.
VM Local Used Burst IO Credits Percentage Percent Average, Minimum, Maximum <none> PT1M Yes
VM Uncached Used Burst BPS Credits Percentage

Percentage of Uncached Burst BPS Credits used by the VM.
VM Remote Used Burst BPS Credits Percentage Percent Average, Minimum, Maximum <none> PT1M Yes
VM Uncached Used Burst IO Credits Percentage

Percentage of Uncached Burst IO Credits used by the VM.
VM Remote Used Burst IO Credits Percentage Percent Average, Minimum, Maximum <none> PT1M Yes
VM Uncached Bandwidth Consumed Percentage

Percentage of uncached disk bandwidth consumed by the VM. Only available on VM series that support premium storage.
VM Uncached Bandwidth Consumed Percentage Percent Average <none> PT1M Yes
VM Uncached IOPS Consumed Percentage

Percentage of uncached disk IOPS consumed by the VM. Only available on VM series that support premium storage.
VM Uncached IOPS Consumed Percentage Percent Average <none> PT1M Yes
VM Availability Metric (Preview)

Measure of Availability of Virtual machines over time.
VmAvailabilityMetric Count Average, Minimum, Maximum <none> PT1M Yes

Next steps