IoT Edge deployment custom metrics, what is the full syntax?

Matthijs van der Veer 4,376 Reputation points MVP
2021-01-19T10:39:17.377+00:00

I'm building some custom metrics for an Azure IoT Edge deployment, and I couldn't find a full description of the syntax. This document says:

"Add or modify custom metrics, using the example syntax as a guide."

Do those examples represent an exhaustive list of operations that I can use in the custom metrics, or are there other functions I could use? Specifically, I'm looking for more operations to go through the individual 'Connected' status of all the clients in the reported properties of my edgeHub module.

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
561 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,157 questions
{count} vote

Accepted answer
  1. QuantumCache 20,261 Reputation points
    2021-02-24T19:30:56.923+00:00

    Hello @Matthijs van der Veer , below is the response from the team.

    Custom metrics queries can be on deviceId, moduleid, tags, properties.desired, properties.reported and configurations. Device Registry properties like connectionState, deviceState, auth mechanism are not supported at this moment.

    Microsoft's team is also working on adding some instructions to the document in the upcoming days. You can visit the document in future or leave a comment below to this thread to check back with us.


0 additional answers

Sort by: Most helpful