Search code examples
azure-iot-hubazure-iot-sdk

Azure IoT Hub Metrics Data


where would I get azure IoT hub metrics data?

I would like to get the metrics data on which alerts are set.I am able to find d2c messages but could not find metrics data.


Solution

  • You can view and create custom views of your metrics via the blade of your IoT hub.You can choose to send your metrics data to an Event Hubs endpoint or an Azure Storage account by clicking Diagnostics settings.Please refer to the document about Understand IoT Hub metrics.

    The metrics define the summary counts of various configuration states such as Success, In Progress, and Error. Custom metrics are specified as queries on device twin reported properties. System metrics are default metrics that measure twin update status, such as the number of device twins that are targeted and the number of twins that have been successfully updated.