Share via

Built-In Metrics Collector for IoT Hub Devices

Abby Greentree 271 Reputation points
2023-11-13T19:06:07.78+00:00

Is there an equivalent of the IoT Edge Metrics Module that would run on an IoT Device that is not an Edge Device? I.e. is there an advised or provided way to collect metrics (such as CPU Usage) from IoT Hub Devices (not Edge Devices)?

Azure IoT Hub
Azure IoT Hub

An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.


Answer accepted by question author
  1. LeelaRajeshSayana-MSFT 17,866 Reputation points Moderator
    2023-11-14T00:48:03.2633333+00:00

    Hi @Abby Greentree Thank you for posting the question here.

    Depending on the host of your IoT Hub device, you may want to consider using Azure Monitor services. Azure monitor offers different metrics to be collected and monitored from different sources. These include Azure resources, other applications, Virtual Machine agents (including the host OS metrics) among the few. Please refer the following Data Collection link from Azure Monitor documentation which provides additional details on these metrics and how they can be collected.

    Alternatively, you can use SDKs compatible with host OS and send other telemetry data such as CPU usage, memory usage, other performance metrics through the SDK and view it on IoT Hub.

    Hope this helps. Please let us know if you have any additional questions.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.