Azure Virtual Machine -
You can declare to scrape an Azure Virtual Machine via the VirtualMachine
resource
type.
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.
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