Skip to content

Azure Event Hubs

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Event Hubs Queue via the EventHubs resource type.

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

  • namespace - The name of the Azure Event Hubs namespace.
  • 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 topic

Limitations

  • As of today, it is not supported to combine topicName with EntityPath as a dimension.

Example

Here is an example configuration:

name: azure_event_hubs_incoming_messages
description: "The number of incoming messages on an Azure Event Hubs topic"
resourceType: EventHubs
azureMetricConfiguration:
  metricName: IncomingMessages
  aggregation:
    type: Total
resources: # Optional, required when no resource discovery is configured
- namespace: promitor-streaming
  topicName: orders
- namespace: promitor-messaging
  topicName: sales
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: event-hubs-landscape