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.
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.
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:
For ARM deployed VMs:
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.