Skip to content

Azure Virtual Machine Scale Set (VMSS)

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Virtual Machine Scale Set via the VirtualMachineScaleSet resource type.

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

  • scaleSetName - The name of the Virtual Machine Scale Set

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

Example

Here is an example configuration:

name: azure_virtual_machine_scale_set_percentage_cpu
description: "Average percentage cpu usage on an Azure virtual machine scale set"
resourceType: VirtualMachineScaleSet
azureMetricConfiguration:
  metricName: Percentage CPU
  dimension:
    name: VMName
  aggregation:
    type: Average
resources: # Optional, required when no resource discovery is configured
- scaleSetName: promitor-virtual-machine-scale-set-1
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: virtual-machine-scale-sets-landscape
Back to top