Azure Virtual Machine - Availability 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: demo_virtualmachine_percentage_cpu
description: "Average percentage cpu usage of our 'promitor-virtual-machine' virtual machine"
resourceType: VirtualMachine
virtualMachineName: promitor-virtual-machine
azureMetricConfiguration:
  metricName: Percentage CPU
  aggregation:
    type: Average

← back to metrics declarations
← back to introduction