I have a few VMs set up as ADO (VSTS) build servers and thought I'd look into CPU and RAM usage over time to optimize the VM size.
However I have had a hard time finding anything in Azure that allows me to investigate memory usage in VMs.
The VMs do have the IaaS WAD extension installed and I can view things like CPU usage in Monitor but there doesn't seem to be any Monitor metric related to memory. Do I really need to move to a third party like Datadog to get such basic information presented in a graph?
Azure – How to monitor VM memory usage on Azure
azuremetrics
Best Answer
They have removed the "host metric" memory from VM's. You have to use the new Insight option to expose the memory usage.
https://azure.microsoft.com/en-us/blog/rich-insights-for-virtual-machines-from-azure-monitor/
Go to your VM -> Monitoring -> Insight and onboard it to Insight if needed. After it is onboarded and has started collecting data(20-30 min) you can choose the performance tab: