Supported metrics for Microsoft.DevOpsInfrastructure/pools

The following table lists the metrics available for the Microsoft.DevOpsInfrastructure/pools 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.

For a list of supported logs, see Supported log categories - Microsoft.DevOpsInfrastructure/pools

Category: Latency

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
AllocationDurationMs

Average time to allocate requests (ms)
AllocationDurationMs Milliseconds Average PoolId, Type, ResourceRequestType, Image PT1M Yes
TimeSpentInPreviousStateMs

Time spent in previous state before transitioning to current state (ms)
TimeSpentInPreviousStateMs Milliseconds Average, Maximum, Minimum PoolId, Image, ImageVersion, PremountConfigurations, DataDiskType, VmPriority, PreviousState, NewState PT1M Yes

Category: Saturation

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Allocated

Resources that are allocated
Allocated Count Average, Maximum, Minimum PoolId, SKU, Images, ProviderName PT1M Yes
Demand

Total active demand on the pool
Demand Count Average, Maximum, Minimum PoolId, SKU, Images, ProviderName PT1M Yes
NotReady

Resources that are not ready to be used
NotReady Count Average, Maximum, Minimum PoolId, SKU, Images, ProviderName PT1M Yes
PendingReimage

Resources that are pending reimage
PendingReimage Count Average, Maximum, Minimum PoolId, SKU, Images, ProviderName PT1M Yes
PendingReturn

Resources that are pending return
PendingReturn Count Average, Maximum, Minimum PoolId, SKU, Images, ProviderName PT1M Yes
Provisioned

Resources that are provisioned
Provisioned Count Average, Maximum, Minimum PoolId, SKU, Images, ProviderName PT1M Yes
Ready

Resources that are ready to be used
Ready Count Average, Maximum, Minimum PoolId, SKU, Images, ProviderName PT1M Yes
Starting

Resources that are starting
Starting Count Average, Maximum, Minimum PoolId, SKU, Images, ProviderName PT1M Yes
Total

Total Number of Resources
Total Count Average, Maximum, Minimum PoolId, SKU, Images, ProviderName PT1M Yes

Category: SaturationByCapability

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Allocated

Resources that are allocated by capability
AllocatedByCapability Count Average, Maximum, Minimum PoolId, Image, ImageVersion, DataDiskType PT1M Yes
Demand

Total active demand on the pool by capability
DemandByCapability Count Average, Maximum, Minimum PoolId, Image, ImageVersion, DataDiskType PT1M Yes
NotReady

Resources that are not ready to be used by capability
NotReadyByCapability Count Average, Maximum, Minimum PoolId, Image, ImageVersion, DataDiskType PT1M Yes
PendingReimage

Resources that are pending reimage by capability
PendingReimageByCapability Count Average, Maximum, Minimum PoolId, Image, ImageVersion, DataDiskType PT1M Yes
PendingReturn

Resources that are pending return by capability
PendingReturnByCapability Count Average, Maximum, Minimum PoolId, Image, ImageVersion, DataDiskType PT1M Yes
Provisioned

Resources that are provisioned by capability
ProvisionedByCapability Count Average, Maximum, Minimum PoolId, Image, ImageVersion, DataDiskType PT1M Yes
Ready

Resources that are ready to be used by capability
ReadyByCapability Count Average, Maximum, Minimum PoolId, Image, ImageVersion, DataDiskType PT1M Yes
Starting

Resources that are starting by capability
StartingByCapability Count Average, Maximum, Minimum PoolId, Image, ImageVersion, DataDiskType PT1M Yes

Category: Traffic

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Count

Number of requests in last dump
Count Count Count RequestType, Status, PoolId, Type, ErrorCode, FailureStage, Image PT1M Yes

Next steps