1. Microsoft Documentation - Autoscale scaling plans and example scenarios in Azure Virtual Desktop: This document outlines the prerequisites for using Autoscale. It explicitly states
"To use CPU utilization as a threshold
you must configure performance counters to collect and send data from your session hosts to the Log Analytics workspace associated with your scaling plan." This configuration is managed through the VM's diagnostic settings.
Source: Microsoft Learn
"Autoscale scaling plans and example scenarios in Azure Virtual Desktop
" Section: "Prerequisites."
2. Microsoft Documentation - Collect guest metrics for an Azure virtual machine: This guide details how to send guest OS performance counters to the Azure Monitor metric store or a Log Analytics workspace using Diagnostic settings and the Azure Monitor agent. This is the underlying mechanism required for the AVD Autoscale feature.
Source: Microsoft Learn
"Tutorial: Collect guest logs and metrics from an Azure virtual machine
" Section: "Enable diagnostic setting."
3. Microsoft Documentation - Overview of Azure Monitor agents: This document explains that agents are required to collect monitoring data from the guest operating system of virtual machines. Configuring Diagnostic settings on a VM installs and configures such an agent to collect performance counters.
Source: Microsoft Learn
"Overview of Azure Monitor agents
" Section: "Collect data from virtual machines."