default: true
input:
  module: azure
  metricset: monitor
  defaults:
    default_resource_type: "Microsoft.ContainerRegistry/registries"
    resources:
    - resource_group: ""
      resource_type: "Microsoft.ContainerRegistry/registries"
      metrics:
      - name: ["TotalPullCount", "SuccessfulPullCount", "TotalPushCount", "SuccessfulPushCount","RunDuration", "AgentPoolCPUTime"]
        namespace: "Microsoft.ContainerRegistry/registries"
        timegrain: "PT5M"
      - name: ["StorageUsed"]
        namespace: "Microsoft.ContainerRegistry/registries"
        timegrain: "PT1H"
    - resource_id: ""
      timegrain: "PT5M"
      metrics:
      - name: ["TotalPullCount", "SuccessfulPullCount", "TotalPushCount", "SuccessfulPushCount","RunDuration", "AgentPoolCPUTime"]
        namespace: "Microsoft.ContainerRegistry/registries"
        timegrain: "PT5M"
      - name: ["StorageUsed"]
        namespace: "Microsoft.ContainerRegistry/registries"
        timegrain: "PT1H"
