Forum Discussion
Getting memory consumption per process in a VM
- Jun 30, 2020
We don't collect process performance counters out of the box
You can configure the agent to configure to collect process performance counters as Rahul said. Here is the link - https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-sources-performance-counters#configuring-performance-counters
regards
-ketan
Juval Hi to enable performance counters, events from event viewer etcs... you need to go to log analytics workspace that you are using, and enable what you need in advance settings.
Aftear this you have to select what you need :
Hope this helps, you can also use this :
https://docs.microsoft.com/pt-pt/azure/azure-monitor/platform/data-sources-performance-counters
Hope it helps it took me a while to understand what was needed.
🙂
Just a side note keep tracking of what you enable, because log analytics is payed by ingestion...
You can take a look at your ingestion and cost, in the "usage and Cost" on the log analytics workspace.
Hope it helps.
Best Regards.
- JuvalJun 30, 2020Brass Contributor
Hi thanks for the pics and guidance! I appreciate all the help i can get so thank you! Yeah need to be careful i guess so in that sense it would be nice if i could just enable on a problematic VM and not all of the VMs.- loadedlouie27Jun 30, 2020Brass Contributor
Juval You can actually...
it took me a while to understand, but basically
when you add this counter :
Processor(*)\% Processor Time
Your collecting for all the VM's, but if you putt it like this:
Processor(YOURVMNAME)\% Processor Time
It will only collect the VM you specified.
Don't ask me multiple VM's how-to, because I don't know but I'm guessing one line for each VM.🙂 hope it helps.
Hit That Like 😄 loool