• Home
  • Deploy Dynatrace
  • Set up Dynatrace on cloud platforms
  • Microsoft Azure
  • Integrations
  • Monitor Azure Virtual Machines
  • Monitor Azure Virtual Machines

Monitor Azure Virtual Machines

Dynatrace ingests metrics from Azure Metrics API for Azure Virtual Machines and Azure Virtual Machine Scale Sets. 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

Note: This service monitors Azure Virtual machines (Microsoft.Compute/virtualMachines and Microsoft.Compute/virtualMachineScaleSets). You can find the already monitored resources on the Azure overview page in the VMs and Scale sets sections. To monitor resources of type Microsoft.ClassicCompute/virtualMachines, check Azure Virtual Machine (classic) and the Cloud services section on the Azure overview page.

Azure Virtual Machines

Metric keyNameUnitAggregationsMonitoring consumption
builtin:cloud.azure.vm.disk.read

Disk read bytes

ByteautovalueDDUs
builtin:cloud.azure.vm.disk.readOps

Disk read operations per sec

Per secondautoavgmaxminDDUs
builtin:cloud.azure.vm.disk.write

Disk write bytes

ByteautovalueDDUs
builtin:cloud.azure.vm.disk.writeOps

Disk write operations per sec

Per secondautoavgmaxminDDUs
builtin:cloud.azure.vm.network.bytesIn

Network in bytes

ByteautovalueDDUs
builtin:cloud.azure.vm.network.bytesOut

Network out bytes

ByteautovalueDDUs
builtin:cloud.azure.vm.cpuUsage

Percentage CPU

Percent (%)autoavgmaxminDDUs

Azure Virtual Machines region

Metric keyNameUnitAggregationsMonitoring consumption
builtin:cloud.azure.region.vms.initializing

Number of starting VMs in region

CountautoavgmaxminHost units
builtin:cloud.azure.region.vms.running

Number of active VMs in region

CountautoavgmaxminHost units
builtin:cloud.azure.region.vms.stopped

Number of stopped VMs in region

CountautoavgmaxminHost units

Azure Virtual Machine Scale Sets

Metric keyNameUnitAggregationsMonitoring consumption
builtin:cloud.azure.vmScaleSet.disk.read

Disk read bytes

ByteautovalueDDUs
builtin:cloud.azure.vmScaleSet.disk.readOps

Disk read operations per sec

Per secondautoavgmaxminDDUs
builtin:cloud.azure.vmScaleSet.disk.write

Disk write bytes

ByteautovalueDDUs
builtin:cloud.azure.vmScaleSet.disk.writeOps

Disk write operations per sec

Per secondautoavgmaxminDDUs
builtin:cloud.azure.vmScaleSet.network.bytesIn

Network in bytes

ByteautovalueDDUs
builtin:cloud.azure.vmScaleSet.network.bytesOut

Network out bytes

ByteautovalueDDUs
builtin:cloud.azure.vmScaleSet.vms.initializing

Number of starting VMs in scale set

CountautoavgmaxminHost units
builtin:cloud.azure.vmScaleSet.vms.running

Number of active VMs in scale set

CountautoavgmaxminHost units
builtin:cloud.azure.vmScaleSet.vms.stopped

Number of stopped VMs in scale set

CountautoavgmaxminHost units
builtin:cloud.azure.vmScaleSet.cpuUsage

Percentage CPU

Percent (%)autoavgmaxminDDUs