Hi @Vasanth Kanugo ,
I was also able to reproduce the issue in my environment. Below are my findings.
- If VMInsights is not enabled in the VM then we don’t see any namespace other than “Virtual Machine Host”.
- If VMInsights is enabled in the VM then we see namespaces “Virtual Machine Host” and “Virtual Machine Guest”. If we select “Virtual Machine Guest” namespace then we will be able to see memory related metrics as memory performance counters are a guest OS metric.
AFAIK, we are working to make this easier, so that guest metrics are available as a first-class metrics and you can alert on them easily. We are planning to rollout this functionality as we align VM Insights with OneAgent (Azure Monitor Agent) and we expect this to be available later this year or early calendar year 2021.
Let me know if you are not able to see memory related metrics even after enabling VMInsights.