If you have VM Insights enabled in Azure Monitor, you should have the necessary data collected to view the individual disks. Please note, in Linux these will be on a per partition basis. By default, you can already view the Logical Disk Space Used %. Navigate to VM under Insights in Monitor portal. Click Performance, Top N List, Select Logical Disk Space Used %.
If you wanted to get the actual amount of space left you can utilize the FreeSpaceMB metric in your Query and convert to GB.
Example Query from previous post:
InsightsMetrics
| where Origin == "vm.azm.ms"
| where Namespace == "LogicalDisk"
| where Name == "FreeSpaceMB"
| extend Disk = tostring(todynamic(Tags).['vm.azm.ms/mountId']) // Extract the disks
| summarize arg_max(TimeGenerated,*) by Computer, Disk // Get the most recent sample of the performance counter
| project TimeGenerated, Computer, Disk, FreeSpaceGB = round(Val /1024,2) // Tidy the results up
Hope this helps! Let me know if you still have questions or need further assistance.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!