Skip to content

Azure Container Registry

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Container Registry via the ContainerRegistry resource type.

When using declared resources, the following fields need to be provided:

  • registryName - The name of the registry

All supported metrics are documented in the official Azure Monitor documentation.

Example

Here is an example configuration:

name: azure_container_registry_total_pull_count
description: "Amount of images that were pulled from the container registry"
resourceType: ContainerRegistry
azureMetricConfiguration:
  metricName: TotalPullCount
  aggregation:
    type: Average
resources: # Optional, required when no resource discovery is configured
- registryName: promitor-1
- registryName: promitor-2
resourceDiscoveryGroups:
- name: registry-group
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: container-registry-landscape
Back to top