Skip to content

Azure IoT Hub

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure IoT Hub via the IoTHub resource type.

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

  • ioTHubName - The name of the Azure IoT Hub

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


Here is an example configuration:

name: azure_iot_hub_total_devices
description: "The number of devices registered to your IoT hub"
resourceType: IoTHub
  metricName: devices.totalDevices
    type: Total
resources: # Optional, required when no resource discovery is configured
- ioTHubName: promitor-1
- ioTHubName: promitor-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (
- name: iot-hub-landscape