Edit

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.
  • Advanced platform metrics - A premium, paid tier of platform metrics in Azure Monitor that provide more granular observability for Azure resources.
  • 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 -S 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.

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

Category: Latency

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

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

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

Category: Saturation

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

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

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

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

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

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

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

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

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

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

Category: SaturationByCapability

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

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

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

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

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

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

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

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

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

Category: Traffic

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

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

Next steps