Skip to content

Azure Virtual Machine (VM)

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Virtual Machine via the VirtualMachine resource type.

When using declared resources, the following fields need to be provided:

  • virtualMachineName - The name of the virtual machine

All supported metrics are documented in the official Azure Monitor documentation.


Here is an example configuration:

name: azure_virtual_machine_percentage_cpu
description: "Average percentage cpu usage on an Azure virtual machine"
resourceType: VirtualMachine
  metricName: Percentage CPU
    type: Average
resources: # Optional, required when no resource discovery is configured
- virtualMachineName: promitor-virtual-machine-1
- virtualMachineName: promitor-virtual-machine-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (
- name: virtual-machine-landscape