MetricNameSpace for Metrics being populated from AzureMonitorAgent

Vasanth Kanugo 1 Reputation point
2020-11-09T05:49:31.847+00:00

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
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,366 questions
{count} votes

1 answer

Sort by: Most helpful
  1. tbgangav-MSFT 10,421 Reputation points
    2020-11-11T07:31:02.65+00:00

    Hi @Vasanth Kanugo ,

    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.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.