Azure Container Registry¶
You can declare to scrape an Azure Container Registry via the
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.
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: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery) - name: container-registry-landscape