Azure IoT Hub monitoring

  • How-to guide
  • 10-min read

For information about differences between classic services and other services, see Migrate from Azure classic (formerly "built-in") services to cloud services.

Dynatrace ingests metrics from Azure Metrics API for Azure IoT Hub. You can view metrics for each service instance, split metrics into multiple dimensions, and create custom charts that you can pin to your dashboards.

Prerequisites

  • Dynatrace version 1.199+
  • Environment ActiveGate version 1.195+

Enable monitoring

To learn how to enable service monitoring, see Enable service monitoring.

View service metrics

You can view the service metrics in your Dynatrace environment either on the custom device overview page or on your Dashboards page.

View metrics on the custom device overview page

To access the custom device overview page

  1. Go to Technologies & Processes Classic.
  2. Filter by service name and select the relevant custom device group.
  3. Once you select the custom device group, you're on the custom device group overview page.
  4. The custom device group overview page lists all instances (custom devices) belonging to the group. Select an instance to view the custom device overview page.

View metrics on your dashboard

Once you add a service to monitoring, a preset dashboard for the respective service containing all recommended metrics is automatically created on your Dashboards page. You can look for specific dashboards by filtering by Preset and then by Name.

For existing monitored services, you might need to resave your credentials for the preset dashboard to appear on the Dashboards page. To resave your credentials, go to Settings > Cloud and virtualization > Azure, select the desired Azure instance, then select Save.

You can't make changes on a preset dashboard directly, but you can clone and edit it. To clone a dashboard, open the browse menu () and select Clone.
To remove a dashboard from the dashboards list, you can hide it. To hide a dashboard, open the browse menu () and select Hide.

Hiding a dashboard doesn't affect other users.

Clone hide azure

Available metrics

This service monitors a part of Azure IoT Hub (Microsoft.Devices/IotHubs). While you have this service configured, you can't have Azure Iot Hub (built-in) service turned on.

NameDescriptionDimensionsUnitRecommended
Telemetry message send attemptsNumber of device-to-cloud telemetry messages attempted to be sent to your IoT hubCountApplicable
Telemetry messages sentNumber of device-to-cloud telemetry messages sent successfully to your IoT hubCountApplicable
C2D message deliveries completedNumber of cloud-to-device message deliveries completed successfully by the deviceCount
C2D messages abandonedNumber of cloud-to-device messages abandoned by the deviceCount
C2D messages rejectedNumber of cloud-to-device messages rejected by the deviceCount
C2D messages expiredNumber of expired cloud-to-device messagesCount
Total devices (deprecated)Number of devices registered to your IoT hubCount
Connected devices (deprecated)Number of devices connected to your IoT hubCount
Routing - telemetry messages deliveredThe number of times messages were successfully delivered to all endpoints using IoT Hub routing. If a message is routed to multiple endpoints, this value increases by one for each successful delivery. If a message is delivered to the same endpoint multiple times, this value increases by one for each successful delivery.CountApplicable
Routing - telemetry messages droppedThe number of times messages were dropped by IoT Hub routing due to dead endpoints. This value does not count messages delivered to fallback route as dropped messages are not delivered there.CountApplicable
Routing - telemetry messages orphanedThe number of times messages were orphaned by IoT Hub routing because they didn't match any routing rules (including the fallback rule).CountApplicable
Routing - telemetry messages incompatibleThe number of times IoT Hub routing failed to deliver messages due to an incompatibility with the endpoint. This value does not include retries.CountApplicable
Routing - messages delivered to fallbackThe number of times IoT Hub routing delivered messages to the endpoint associated with the fallback route.CountApplicable
Routing - messages delivered to event hubThe number of times IoT Hub routing successfully delivered messages to Event Hub endpoints.Count
Routing - message latency for event hubThe average latency (milliseconds) between message ingress to IoT Hub and message ingress into an Event Hub endpoint.MilliSecond
Routing - messages delivered to service bus queueThe number of times IoT Hub routing successfully delivered messages to Service Bus queue endpoints.Count
Routing - message latency for service bus queueThe average latency (milliseconds) between message ingress to IoT Hub and telemetry message ingress into a Service Bus queue endpoint.MilliSecond
Routing - messages delivered to service bus topicThe number of times IoT Hub routing successfully delivered messages to Service Bus topic endpoints.Count
Routing - message latency for service bus topicThe average latency (milliseconds) between message ingress to IoT Hub and telemetry message ingress into a Service Bus topic endpoint.MilliSecond
Routing - messages delivered to messages/eventsThe number of times IoT Hub routing successfully delivered messages to the built-in endpoint (messages/events).Count
Routing - message latency for messages/eventsThe average latency (milliseconds) between message ingress to IoT Hub and telemetry message ingress into the built-in endpoint (messages/events).MilliSecond
Routing - messages delivered to storageThe number of times IoT Hub routing successfully delivered messages to storage endpoints.Count
Routing - message latency for storageThe average latency (milliseconds) between message ingress to IoT Hub and telemetry message ingress into a storage endpoint.MilliSecond
Routing - data delivered to storageThe amount of data (bytes) IoT Hub routing delivered to storage endpoints.Byte
Routing - blobs delivered to storageThe number of times IoT Hub routing delivered blobs to storage endpoints.Count
Event grid deliveriesThe number of IoT Hub events published to Event Grid. Use the Result dimension for the number of successful and failed requests.Routing result, Event typeCount
Event grid latencyThe average latency (milliseconds) from when the Iot Hub event was generated to when the event was published to Event Grid. This number is an average between all event types. Use the EventType dimension to see latency of a specific type of event.Event typeMilliSecond
Routing deliveries (preview)The number of times IoT Hub attempted to deliver messages to all endpoints using routing. To see the number of successful or failed attempts, use the Result dimension. To see the reason of failure, like invalid, dropped, or orphaned, use the FailureReasonCategory dimension. You can also use the EndpointName and EndpointType dimensions to understand how many messages were delivered to your different endpoints. The metric value increases by one for each delivery attempt, including if the message is delivered to multiple endpoints or if the message is delivered to the same endpoint multiple times.Endpoint type, Endpoint name, Failure reason category, Result, Routing sourceCount
Routing delivery latency (preview)The average latency (milliseconds) between message ingress to IoT Hub and telemetry message ingress into an endpoint. You can use the EndpointName and EndpointType dimensions to understand the latency to your different endpoints.Endpoint type, Endpoint name, Routing sourceMilliSecond
Routing delivery message size in bytes (preview)The total size in bytes of messages delivered by IoT hub to an endpoint. You can use the EndpointName and EndpointType dimensions to view the size of the messages in bytes delivered to your different endpoints. The metric value increases for every message delivered, including if the message is delivered to multiple endpoints or if the message is delivered to the same endpoint multiple times.Endpoint type, Endpoint name, Routing sourceByte
Successful twin reads from devicesThe count of all successful device-initiated twin reads.Count
Failed twin reads from devicesThe count of all failed device-initiated twin reads.Count
Response size of twin reads from devicesThe average, min, and max of all successful device-initiated twin reads.Byte
Successful twin updates from devicesThe count of all successful device-initiated twin updates.Count
Failed twin updates from devicesThe count of all failed device-initiated twin updates.Count
Size of twin updates from devicesThe average, min, and max size of all successful device-initiated twin updates.Byte
Successful direct method invocationsThe count of all successful direct method calls.Count
Failed direct method invocationsThe count of all failed direct method calls.Count
Request size of direct method invocationsThe average, min, and max of all successful direct method requests.Byte
Response size of direct method invocationsThe average, min, and max of all successful direct method responses.Byte
Successful twin reads from back endThe count of all successful back-end-initiated twin reads.Count
Failed twin reads from back endThe count of all failed back-end-initiated twin reads.Count
Response size of twin reads from back endThe average, min, and max of all successful back-end-initiated twin reads.Byte
Successful twin updates from back endThe count of all successful back-end-initiated twin updates.Count
Failed twin updates from back endThe count of all failed back-end-initiated twin updates.Count
Size of twin updates from back endThe average, min, and max size of all successful back-end-initiated twin updates.Byte
Successful twin queriesThe count of all successful twin queries.Count
Failed twin queriesThe count of all failed twin queries.Count
Twin queries result sizeThe average, min, and max of the result size of all successful twin queries.Byte
Successful creations of twin update jobsThe count of all successful creation of twin update jobs.Count
Failed creations of twin update jobsThe count of all failed creation of twin update jobs.Count
Successful creations of method invocation jobsThe count of all successful creation of direct method invocation jobs.Count
Failed creations of method invocation jobsThe count of all failed creation of direct method invocation jobs.Count
Successful calls to list jobsThe count of all successful calls to list jobs.Count
Failed calls to list jobsThe count of all failed calls to list jobs.Count
Successful job cancellationsThe count of all successful calls to cancel a job.Count
Failed job cancellationsThe count of all failed calls to cancel a job.Count
Successful job queriesThe count of all successful calls to query jobs.Count
Failed job queriesThe count of all failed calls to query jobs.Count
Completed jobsThe count of all completed jobs.Count
Failed jobsThe count of all failed jobs.Count
Number of throttling errorsNumber of throttling errors due to device throughput throttlesCountApplicable
Total number of messages usedNumber of total messages used todayCount
Total device data usageBytes transferred to and from any devices connected to IotHubByteApplicable
Total device data usage (preview)Bytes transferred to and from any devices connected to IotHubByte
Total devicesNumber of devices registered to your IoT hubCountApplicable
Connected devicesNumber of devices connected to your IoT hubCountApplicable
Configuration metricsMetrics for Configuration OperationsCount
Related tags
Infrastructure Observability