Markus Schädlich, thank you for providing additional details.
As I understand, you have enabled VMInsights on this VM using one of the ways mentioned below or using API etc. (correct me if I am wrong)
Based on the understanding above, can you please check and share the following details:
- Screenshot of the view from VM --> Monitoring\Insights --> Performance tab (this is to check if the backend platform knows that the VM Insights has been enabled, in which case, it should look like something below - if data is not being collected, the graph/values might be empty):
- Click on "Monitoring configuration" in the view above and ensure that you are querying the data from the correct LA workspace.
- Check the
msconfig.lkg.xml
file for current configuration. Ensure that<CounterSets>
tag has the counters listed correctly and also<TaggedData>
tag with the DCR starting with "MSVMI-". Note that the DCR created for VMInsights has name starting with "MSVMI-" - On the VM from where the data needs to be collected, got to Start --> "Performance Monitor" --> click on Add button ("+" mark) and see if the counters are infact in there. There are chances that counters may not have been loaded on the machine causing issues with counter value collection.
- Apart from the
InsightsMetrics
table, also check theperf
table which also stores the perf counter values. Verify if you see similar behavior in this table as well. For more details, see Perf
The following article has extensive steps to troubleshoot scenarios that may arise in this case as pointed out earlier - Troubleshooting guidance for the Azure Monitor agent on Windows virtual machines and scale sets. Note that both "basic troubleshooting..." and "Issues collecting performance counters..." topic would apply to the current issue being investigated. Ensure that you have reviewed all the points and do share any errors/inconsistencies that you observe.
In case the steps and troubleshooting guide do not help, please file a ticket with Azure Support so that the issue can be investigated in detail from both machine as well as platform side, as required.
Hope this helps. Please let me know if you have any questions.