Bewerken

Share via


Supported metrics for Microsoft.ClassicCompute/domainNames/slots/roles

The following table lists the metrics available for the Microsoft.ClassicCompute/domainNames/slots/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 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
Disk Read

Average bytes read from disk during monitoring period.
Disk Read Bytes/Sec BytesPerSecond Average RoleInstanceId PT1M No
Disk Read Operations/Sec

Disk Read IOPS.
Disk Read Operations/Sec CountPerSecond Average RoleInstanceId PT1M Yes
Disk Write

Average bytes written to disk during monitoring period.
Disk Write Bytes/Sec BytesPerSecond Average RoleInstanceId PT1M No
Disk Write Operations/Sec

Disk Write IOPS.
Disk Write Operations/Sec CountPerSecond Average RoleInstanceId PT1M Yes
Network In

The number of bytes received on all network interfaces by the Virtual Machine(s) (Incoming Traffic).
Network In Bytes Total (Sum) RoleInstanceId PT1M Yes
Network Out

The number of bytes out on all network interfaces by the Virtual Machine(s) (Outgoing Traffic).
Network Out Bytes Total (Sum) RoleInstanceId 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 PT1M Yes