Isn't there any out of the box platform metrics collected in Monitor - Logs for Virtual Machine Scale Sets, just as there are for Virtual Machines? More specifically it's being populated and stored in the Azure Monitor metrics database. Yes, out of the box it's only populated to Azure Monitor - Metrics.
![internet usage monitor virtual appliance internet usage monitor virtual appliance](https://i.ytimg.com/vi/1DMHoGZVW8c/maxresdefault.jpg)
I've done some more research in regards of this, and think that I can provide somewhat elaborated answers to my own questions.ĭo they, with the "With an Azure virtual machine scale set you get host CPU, disk and up/down state of your VMSS out of the box." statement mean that this data is only populated to Monitor - Metrics and not to Monitor - Logs? Why is this query located under Virtual Machine Scale Sets, if it retrieves data for Virtual Machines but not for Virtual Machine Scale Sets/VM Instances of those? Why isn't it located under Virtual Machine below, instead? I've tried to alter it to get metric data from my Virtual Machine Scale Sets, but I can't seem to find any inside of the Monitor Logs.ĭo they, with the "With an Azure virtual machine scale set you get host CPU, disk and up/down state of your VMSS out of the box." statement mean that this data is only populated to Monitor - Metrics and not to Monitor - Logs? Isn't there any out of the box platform metrics collected in Monitor - Logs for Virtual Machine Scale Sets, just as there are for Virtual Machines? If there isn't, what needs to be done to enable that? If there is, any example query to retrieve those metrics would be appreciated! It does however display metric data from all of the Virtual Machines that are or has been (within the time limit of course) deployed inside of that resource group scope. If I run that query, it doesn't show any metric data from any Virtual Machine Scale Set (or any of their Virtual Machine instances) inside of that scope. | summarize avg(Val) by bin(TimeGenerated, 5m), Computer //split up by computer Calculate CPU usage patterns over the last hour, chart by percentiles. It generates the following KQL query: // Chart CPU usage trends by computer use the built in query Virtual Machine Scale Sets - Chart CPU usage trends by computer (see picture):
![internet usage monitor virtual appliance internet usage monitor virtual appliance](https://docs.microsoft.com/en-us/azure/databox-online/media/azure-stack-edge-gpu-monitor-virtual-machine-metrics/metrics-02.png)
If I then access the Azure Monitor resource inside of the Azure Subscription, and set the scope to the resource group that this Virtual Machine Scale Set resides within, and then e.g. This seems to be true when you click on the Metrics pane of the Virtual Machine Scale Set, inside of the Azure Portal, because inside there you can show various platform metrics (such as CPU Percentage etc.) out of the box and work with that data. "With an Azure virtual machine scale set you get host CPU, disk and up/down state of your VMSS out of the box."
![internet usage monitor virtual appliance internet usage monitor virtual appliance](https://upload.wikimedia.org/wikipedia/commons/thumb/4/40/Kernel-based_Virtual_Machine.svg/400px-Kernel-based_Virtual_Machine.svg.png)
If you haven't configured Insights on you Virtual Machine Scale Set in Azure, and you access the Insights pane from the Azure Portal you'll get informed with the following: