Supported metrics for Microsoft.Compute/cloudServices/roles

The following table lists the metrics available for the Microsoft.Compute/cloudServices/roles 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 - Metrics export using data collection rules and 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 RoleInstanceId, RoleId PT1M Yes
Disk Read Bytes

Bytes read from disk during monitoring period
Disk Read Bytes Bytes Total (Sum) RoleInstanceId, RoleId PT1M Yes
Disk Read Operations/Sec

Disk Read IOPS
Disk Read Operations/Sec CountPerSecond Average RoleInstanceId, RoleId PT1M Yes
Disk Write Bytes

Bytes written to disk during monitoring period
Disk Write Bytes Bytes Total (Sum) RoleInstanceId, RoleId PT1M Yes
Disk Write Operations/Sec

Disk Write IOPS
Disk Write Operations/Sec CountPerSecond Average RoleInstanceId, RoleId 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) RoleInstanceId, RoleId 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) RoleInstanceId, RoleId PT1M Yes
Percentage CPU

The percentage of allocated compute units that are currently in use by the Virtual Machine(s)
Percentage CPU Percent Average RoleInstanceId, RoleId PT1M Yes

Next steps