|
| 1 | +--- |
| 2 | +title: Monitoring data reference for Azure Container Registry |
| 3 | +description: This article contains important reference material you need when you monitor Azure Container Registry. |
| 4 | +ms.date: 06/17/2024 |
| 5 | +ms.custom: horz-monitor, subject-monitoring |
| 6 | +ms.topic: reference |
| 7 | +author: tejaswikolli-web |
| 8 | +ms.author: tejaswikolli |
| 9 | +ms.service: container-registry |
| 10 | +--- |
| 11 | + |
| 12 | +# Azure Container Registry monitoring data reference |
| 13 | + |
| 14 | +[!INCLUDE [horz-monitor-ref-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-intro.md)] |
| 15 | + |
| 16 | +See [Monitor Azure Container Registry](monitor-container-registry.md) for details on the data you can collect for Azure Container Registry and how to use it. |
| 17 | + |
| 18 | +[!INCLUDE [horz-monitor-ref-metrics-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-intro.md)] |
| 19 | + |
| 20 | +### Supported metrics for Microsoft.ContainerRegistry/registries |
| 21 | + |
| 22 | +The following table lists the metrics available for the Microsoft.ContainerRegistry/registries resource type. |
| 23 | + |
| 24 | +[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)] |
| 25 | + |
| 26 | +[!INCLUDE [Microsoft.ContainerRegistry/registries](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-containerregistry-registries-metrics-include.md)] |
| 27 | + |
| 28 | +> [!NOTE] |
| 29 | +> Because of layer sharing, registry **Storage used** might be less than the sum of storage for individual repositories. When you [delete](container-registry-delete.md) a repository or tag, you recover only the storage used by manifest files and the unique layers referenced. |
| 30 | +
|
| 31 | +[!INCLUDE [horz-monitor-ref-metrics-dimensions-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions-intro.md)] |
| 32 | + |
| 33 | +[!INCLUDE [horz-monitor-ref-metrics-dimensions](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions.md)] |
| 34 | + |
| 35 | +- **Geolocation**. The Azure region for a registry or [geo-replica](container-registry-geo-replication.md). |
| 36 | + |
| 37 | +[!INCLUDE [horz-monitor-ref-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-resource-logs.md)] |
| 38 | + |
| 39 | +### Supported resource logs for Microsoft.ContainerRegistry/registries |
| 40 | + |
| 41 | +[!INCLUDE [Microsoft.ContainerRegistry/registries](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/logs/microsoft-containerregistry-registries-logs-include.md)] |
| 42 | + |
| 43 | +[!INCLUDE [horz-monitor-ref-logs-tables](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-logs-tables.md)] |
| 44 | + |
| 45 | +For a reference of all Azure Monitor Logs and Log Analytics tables, see the [Azure Monitor Log Table Reference](/azure/azure-monitor/reference/tables/tables-resourcetype). |
| 46 | + |
| 47 | +### Container Registry Microsoft.ContainerRegistry/registries |
| 48 | + |
| 49 | +- [AzureActivity](/azure/azure-monitor/reference/tables/azureactivity#columns). Entries from the Azure Activity log that provide insight into any subscription-level or management group level events that occurred in Azure. |
| 50 | +- [AzureMetrics](/azure/azure-monitor/reference/tables/azuremetrics#columns). Metric data emitted by Azure services that measure their health and performance. |
| 51 | +- [ContainerRegistryLoginEvents](/azure/azure-monitor/reference/tables/containerregistryloginevents#columns). Registry authentication events and status, including the incoming identity and IP address. |
| 52 | +- [ContainerRegistryRepositoryEvents](/azure/azure-monitor/reference/tables/containerregistryrepositoryevents#columns). Operations on images and other artifacts in registry repositories. The following operations are logged: push, pull, untag, delete (including repository delete), purge tag, and purge manifest. |
| 53 | + |
| 54 | + Purge events are logged only if a registry [retention policy](container-registry-retention-policy.md) is configured. |
| 55 | + |
| 56 | +[!INCLUDE [horz-monitor-ref-activity-log](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-activity-log.md)] |
| 57 | + |
| 58 | +- [Microsoft.ContainerRegistry resource provider operations](/azure/role-based-access-control/resource-provider-operations#microsoftcontainerregistry) |
| 59 | + |
| 60 | +The following table lists operations related to Azure Container Registry that can be created in the Activity log. This list isn't exhaustive. |
| 61 | + |
| 62 | +| Operation | Description | |
| 63 | +|:---|:---| |
| 64 | +| Create or Update Container Registry | Create a container registry or update a registry property | |
| 65 | +| Delete Container Registry | Delete a container registry | |
| 66 | +| List Container Registry Login Credentials | Show credentials for registry's admin account | |
| 67 | +| Import Image | Import an image or other artifact to a registry | |
| 68 | +| Create Role Assignment | Assign an identity a Role-based access control (RBAC) role to access a resource | |
| 69 | + |
| 70 | +## Related content |
| 71 | + |
| 72 | +- See [Monitor Azure Container Registry](monitor-container-registry.md) for a description of monitoring Container Registry. |
| 73 | +- See [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for details on monitoring Azure resources. |
0 commit comments