Azure Virtual Machine

Availability BadgeResource Discovery Support Badge

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

The following fields need to be provided:

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

Example:

name: azure_virtual_machine_percentage_cpu
description: "Average percentage cpu usage on an Azure virtual machine"
resourceType: VirtualMachine
azureMetricConfiguration:
  metricName: Percentage CPU
  aggregation:
    type: Average
resources:
- virtualMachineName: promitor-virtual-machine-1
- virtualMachineName: promitor-virtual-machine-2
resourceDiscoveryGroups:
- name: virtual-machine-group

← back to metrics declarations
← back to introduction