Azure VMs appear in the App without metrics

After properly installing the Azure Integration within Datadog, metrics from you Azure VMs and other services should begin to flow in about 15 minutes.

If after this time you see Azure VMs in your infrastructure list but no metrics are being reported, a few things can be happening.

  1. Make sure you are looking for the right metrics. Classic virtual machine metrics begin with the azure.vm namespace and ARM deployed virtual machine metrics begin with the azure.compute_virtualmachines namespace.

  2. If neither of these namespaces are returning metrics, make sure Diagnostics is turned on for the Virtual Machines within the Azure Portal. NOTE, only Boot diagnostics and Basic metrics are required.

    • For Classic VMs:

      The azure portal showing the diagnostics view of a classic virtual machine with status set to on

    • For ARM deployed VMs:

      The azure portal showing the diagnostics settings view of a virtual machine with status set to on

  3. Make sure the Virtual machine is running. The integration does not collect performance metrics for stopped/deallocated machines. However, the azure.vm.status metric returns 1 if the machine is running, or stopped (which results in stopped VMs showing up in the infrastructure list). The associated status tag allows you to differentiate between running and not-running hosts. Make sure the host in question has status:running, and is running in the Azure portal.

    a pair of timeseries graphs in the Datadog application, with one displaying the sum of azure.vm.status with status:running and the other displaying the sum of azure.vm.status with status:not_running

PREVIEWING: may/unit-testing