Azure IoT Hub
You can declare to scrape an Azure IoT Hub via the
IoTHub resource type.
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.
name: azure_iot_hub_total_devices description: "The number of devices registered to your IoT hub" resourceType: IoTHub azureMetricConfiguration: metricName: devices.totalDevices aggregation: type: Total resources: - ioTHubName: promitor-1 - ioTHubName: promitor-2 resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery) - name: iot-hub-landscape
← back to metrics declarations
← back to introduction