question

VasanthKanugo-5748 avatar image
0 Votes"
VasanthKanugo-5748 asked VasanthKanugo-5748 commented

MetricNameSpace for Metrics being populated from AzureMonitorAgent

Data stream from AzureMonitorAgent is governed by DataCollectionRule.
I have set the data source as performance counters and destination as AzureMonitorMetrics for the desired subscription id, but the namespace need not be set for this destination.
When i look under the Metrics tab of monitor for the virtual machine (on which the Data collection rule) has been defined. there is neither any new name space added nor the metrics ( memory metrics) are available in the existant name spaces.
where can i find the name space or metrics under??

azure-monitor
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @VasanthKanugo-5748,

Did you get chance to review the below information? Let me know if you have any further queries regarding it.

0 Votes 0 ·

Yes! I have tried this out and it works.

Could the documentation be updated regarding the same as I couldn't find it in the documentation that Insights need to be enabled for this feature to work.

0 Votes 0 ·

Hi @VasanthKanugo-5748,

Sure. Thanks for the feedback. We are still working through the experience and plans as to how we go about enabling VM Insights along with AMA (Azure Monitor Agent). Once we are done with that then we will definitely update the documentation accordingly and as appropriate.

0 Votes 0 ·

Hi @VasanthKanugo-5748,

Hope the below information was helpful. Let us know if you have any further queries regarding it.

0 Votes 0 ·

1 Answer

tbgangav-MSFT avatar image
1 Vote"
tbgangav-MSFT answered VasanthKanugo-5748 commented

Hi @VasanthKanugo-5748,

I was also able to reproduce the issue in my environment. Below are my findings.

  1. If VMInsights is not enabled in the VM then we don’t see any namespace other than “Virtual Machine Host”.
    38949-am1.png
    38995-am3.png

  2. 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.
    39032-am2.png
    39033-am4.png

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.



am1.png (69.2 KiB)
am2.png (72.0 KiB)
am3.png (124.9 KiB)
am4.png (57.4 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@tbgangav-MSFT, the steps you have mentioned work fine with VMs with windows installed on them.
But when I try the same with Linux machines the metrics namespace doesn't appear even after the insights are enabled.


0 Votes 0 ·