azure-monitor-datasource
azure-monitor-datasource copied to clipboard
Monitor Azure VM Guest (classic) Metrics
Hi Everyone
I looked in the issues and documentation and couldn't find it, if it's already on the roadmap please point me in the right direction...
How can I show VM metrics from the Guest (classic) namespace? For example, the average memory of a VM is not in the Virtual Machine Host namespace but rather in the Guest (classic) namespace
Any standard way to show them in grafana, without installing special tools / exporters?
Thanks Omer
@daniellee Yes, how to add azure vm extended metrics in Grafana? https://docs.microsoft.com/en-us/azure/cost-management/azure-vm-extended-metrics?
@rerime I have also followed the instructions in that document but it did not detail the relevant information relating to the namespace name in grafana.
I'm guessing it should be "Microsoft.Compute/virtualMachines/guest" but it still isnt coming up for me
Has anybody managed to get the VM extended metrics working in Grafana? I am trying to add metric '\LogicalDisk(C:)% Free Space' but have so far been unable to. Extended metrics have been enabled on the VM.
I'm also interested in this. I've upgraded to v6.4.0-beta1
to enable metric namespaces but "Guest (classic)" doesn't appear as an option
Can someone answer if Grafana can support Azure VM Guest OS (classic) metrics with Azure Monitor?
I was able to get those metrics via Azure Log Analytics. Thanks to https://stackoverflow.com/questions/42853392/monitor-free-disk-space-on-azure-vm
You should have it configured in datasource - see your workspace at least. Then in query select that source and workspace and use something like this: // Virtual Machine free disk space // Show the latest report of free disk space, per instance Perf | where ObjectName == "LogicalDisk" or // the object name used in Windows records ObjectName == "Logical Disk" // the object name used in Linux records | where CounterName == "Free Megabytes" | summarize arg_max(TimeGenerated, *) by InstanceName // arg_max over TimeGenerated returns the latest record | project TimeGenerated, InstanceName, CounterValue
From my understanding, this is still not-supported?