• Home
  • Deploy Dynatrace
  • Set up Dynatrace on cloud platforms
  • Microsoft Azure
  • Integrations
  • Azure cloud services
  • Azure IoT Hub

Azure IoT Hub

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

  • Environment ActiveGate
  • To disable monitoring of built-in services you need Environment ActiveGate version 1.245+ and Dynatrace version 1.247+

Enable monitoring

To enable monitoring for this service, you need to set up integration with Azure Monitor.

Add the service to monitoring

To view service metrics, the service needs to be monitored in your Dynatrace environment.

Built-in services specifics

This is a built-in service. It’s monitored out-of-the-box once a new Azure integration instance is created. For built-in services, all metrics are recommended (changing configuration is not possible).

If monitoring for a built-in service was disabled and you want to re-enable monitoring
  1. In the Dynatrace menu, go to Settings and select Cloud and virtualization > Azure.
  2. On the Azure overview page, select the Edit icon for the Azure instance.
  3. Under Services, select Manage services.
  4. Select Add service, choose the service from the list, and select Add service.
  5. Select Save changes to save your configuration.

Monitor resources based on tags

You can choose to monitor resources based on existing Azure tags, as Dynatrace automatically imports them from service instances.

To monitor resources based on tags

  1. In the Dynatrace menu, go to Settings and select Cloud and virtualization > Azure.
  2. On the Azure overview page, select the Edit icon for the Azure instance.
  3. Set Resources to be monitored to Monitor resources selected by tags.
  4. Enter key/value pairs to identify resources to exclude from monitoring or include in monitoring.
    You can enter multiple key/value pairs: each time you enter a pair, another empty row is displayed for you to edit as needed.
  5. Select Save to save your configuration.

Note: To import the Azure tags automatically into Dynatrace, turn on Capture Azure tags automatically.

View service metrics

You can view Azure service metrics in your Dynatrace environment on the Azure subscription page or on your own dashboard.

View metrics on the Azure account page

To access metrics on the Azure account page

  1. In the Dynatrace menu, go to Azure.
  2. Choose the Azure subscription.
  3. Select the service whose metrics you want to check. Metrics for the selected service are visible under the infographic in the service section.

View metrics on a dashboard

You can create your own dashboard for viewing Azure service metrics. For information on how to create dashboards, see Create and edit Dynatrace dashboards.

Example of Azure built-in metrics

Example of Azure built-in services

Available metrics

Metric keyNameUnitAggregationsMonitoring consumption
builtin:cloud.azure.iotHub.command.abandoned

Commands abandoned

CountautovalueDDUs
builtin:cloud.azure.iotHub.command.completed

Commands completed

CountautovalueDDUs
builtin:cloud.azure.iotHub.command.rejected

Commands rejected

CountautovalueDDUs
builtin:cloud.azure.iotHub.device.connected

Connected devices

CountautoavgmaxminDDUs
builtin:cloud.azure.iotHub.device.dailyThroughputThrottling

Number of throttling errors

CountautovalueDDUs
builtin:cloud.azure.iotHub.device.dataUsage

Total device data usage

ByteautoavgmaxminDDUs
builtin:cloud.azure.iotHub.device.registered

Total devices

CountautoavgmaxminDDUs
builtin:cloud.azure.iotHub.eventHub.builtInEventHub.messages.delivered

Messages delivered to the built-in endpoint (messages/events)

CountautovalueDDUs
builtin:cloud.azure.iotHub.eventHub.builtInEventHub.averageLatencyMs

Message latency for the built-in endpoint (messages/events)

MillisecondautoavgmaxminDDUs
builtin:cloud.azure.iotHub.eventHub.messages.delivered

Messages delivered to Event Hub endpoints

CountautovalueDDUs
builtin:cloud.azure.iotHub.eventHub.averageLatencyMs

Message latency for event hub endpoints

MillisecondautoavgmaxminDDUs
builtin:cloud.azure.iotHub.messages.dropped

Dropped messages

CountautovalueDDUs
builtin:cloud.azure.iotHub.messages.invalidForAllEndpoints

Invalid messages

CountautovalueDDUs
builtin:cloud.azure.iotHub.messages.orphaned

Orphaned messages

CountautovalueDDUs
builtin:cloud.azure.iotHub.messages.sendAttempts

Telemetry message send attempts

CountautovalueDDUs
builtin:cloud.azure.iotHub.messages.sent

Telemetry messages sent

CountautovalueDDUs
builtin:cloud.azure.iotHub.messages.sentToFallback

Messages matching fallback condition

CountautovalueDDUs
builtin:cloud.azure.iotHub.serviceBus.queues.averageLatencyMs

Message latency for service bus queue endpoints

MillisecondautoavgmaxminDDUs
builtin:cloud.azure.iotHub.serviceBus.queues.messagesDelivered

Messages delivered to service bus queue endpoints

CountautovalueDDUs
builtin:cloud.azure.iotHub.serviceBus.topics.averageLatencyMs

Message latency for service bus topic endpoints

MillisecondautoavgmaxminDDUs
builtin:cloud.azure.iotHub.serviceBus.topics.messagesDelivered

Messages delivered to service bus topic endpoints

CountautovalueDDUs
builtin:cloud.azure.iotHub.storageEndpoints.avgLatencyMs

Message latency for storage endpoints

MillisecondautoavgmaxminDDUs
builtin:cloud.azure.iotHub.storageEndpoints.blobsWritten

Blobs written to storage

CountautovalueDDUs
builtin:cloud.azure.iotHub.storageEndpoints.bytesWritten

Data written to storage

ByteautoavgmaxminDDUs
builtin:cloud.azure.iotHub.storageEndpoints.messageDelivered

Messages delivered to storage endpoints

CountautovalueDDUs