Supported metrics for Microsoft.ContainerRegistry/registries
The following table lists the metrics available for the Microsoft.ContainerRegistry/registries 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.
For a list of supported logs, see Supported log categories - Microsoft.ContainerRegistry/registries
Metric | Name in REST API | Unit | Aggregation | Dimensions | Time Grains | DS Export |
---|---|---|---|---|---|---|
AgentPool CPU Time AgentPool CPU Time in seconds |
AgentPoolCPUTime |
Seconds | Total (Sum) | <none> | PT1M | Yes |
Run Duration Run Duration in milliseconds |
RunDuration |
MilliSeconds | Total (Sum) | <none> | PT1M | Yes |
Storage used The amount of storage used by the container registry. For a registry account, it's the sum of capacity used by all the repositories within a registry. It's sum of capacity used by shared layers, manifest files, and replica copies in each of its repositories. |
StorageUsed |
Bytes | Average | Geolocation |
PT1H | Yes |
Successful Pull Count Number of successful image pulls |
SuccessfulPullCount |
Count | Total (Sum) | <none> | PT1M | Yes |
Successful Push Count Number of successful image pushes |
SuccessfulPushCount |
Count | Total (Sum) | <none> | PT1M | Yes |
Total Pull Count Number of image pulls in total |
TotalPullCount |
Count | Total (Sum) | <none> | PT1M | Yes |
Total Push Count Number of image pushes in total |
TotalPushCount |
Count | Total (Sum) | <none> | PT1M | Yes |