All the Azure Monitor metrics that needs to be scraped are consolidated in one YAML file. This configuration defines the Azure metadata and all the metrics.

Here is an example of how you can scrape an Azure Service Bus queue:

  tenantId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  subscriptionId: yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
  resourceGroupName: promitor
  - name: demo_queue_size
    description: "Amount of active messages of the 'myqueue' queue"
    resourceType: ServiceBusQueue
    namespace: promitor-messaging
    queueName: orders
      metricName: ActiveMessages
      aggregation: Total

General Declaration



Every metric that is being declared needs to define the following fields:

Supported Azure Services

Every Azure service is supported and can be scraped by using the Generic Azure Resource.

We also provide a simplified way to configure the following Azure resources:

Want to help out? Create an issue and contribute a new scraper.

← back