Skip to content

Azure Service Bus Namespace

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Service Bus namespace via the ServiceBusNamespace resource type.

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

  • namespace - The name of the Azure Service Bus namespace
  • queueName - The name of the queue (optional)
  • topicName - The name of the topic (optional)

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

The following scraper-specific metric label will be added:

  • entity_name - Name of the queue


  • No support for queueName & topicName for the same resource, for example:
- namespace: promitor-messaging
  queueName: orders
  topicName: sales
  • No support for combining the queueName & EntityPath dimensions


Here is an example configuration:

name: azure_service_bus_queue_active_messages
description: "The number of active messages on a service bus queue"
resourceType: ServiceBusNamespace
  metricName: ActiveMessages
    type: Total
resources: # Optional, required when no resource discovery is configured
- namespace: promitor-messaging
  queueName: orders
- namespace: promitor-messaging
  queueName: items
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (
- name: service-bus-landscape