disk performance counter is not fully functional for Windows operating system virtual machines using data collection rule

$@chin 200 Reputation points
2024-02-07T16:43:27.94+00:00

When I configured the data collection rule and include both Windows and Linux systems, it only displays the total result for the "% Free Space" performance counter for Windows, instead of showing individual results for each instance, such as the space available based on the number of disks attached to each virtual machine. This occurred while using Azure monitor agent.

However, when using the legacy feature (legacy agent management using LAW) with the same performance counter, I could see the results for each individual instance based on the number of disks attached.

Is there a limitation while using the data collection rule? DCR Result:dcr-result

Legacy result :legacy-result

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,645 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 21,546 Reputation points Moderator
    2024-02-20T05:42:40.55+00:00

    Sachin, thank you for posting this question on Microsoft Q&A and apologies for the delayed response.

    I see that you are trying to capture perfmon counter values for all disks using Azure Monitor Agent DCR. In the screenshot shared in the question, the performance counter specified are incorrect for Logical Disk. The correct path should be:

    \LogicalDisk(*)\% Free Space

    Please refer to the screenshot below: User's image

    Note that there are no blank space between "LogicalDisk" and the counter starts with a \

    Once the performance counter was specified like this, the instance specific values also started getting collected. User's image

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most 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.