Search code examples
.netazurememory-managementazure-application-insightsprofiler

Where do I show info about Memory on App Inisghts Profiler?


I've set the Profiler to hit when Memory is over some threashold.

I got a Hit right now, but when I expand the Slowest wall clock time, it shows to me only the ms in CPU which take long time.

No info about which resource are filling the memory. Where do I enable and see the informations about Memory?

Also try to download the .diagsession file, but I can only see CPU %:

enter image description here


Solution

  • Where do I show info about Memory on App Inisghts Profiler?

    We have an option in Application Insights => Performance => Profiler

    • By setting the triggers, If the CPU or Memory goes above the certain threshold (which we have set in the Trigger), the service will trigger the Profiler to start.
    • Here I have set the Memory Threshold (%) to 80.

    enter image description here

    • The profiler gets started automatically when the CPU or memory % gets to a certain point.

    • If you want to profile and know the info manually, you can click Profile now.

    • I have run the profiler manually, you can see the details of Profile now along with CPU and Memory.

    enter image description here

    Refer MSDoc 1 and 2 for more details.

    Even MS Doc says, if we set Memory trigger it

    Starts Profiler when memory usage is above 80 percent.

    No info about which resource are filling the memory.

    To know more details about the memory usage, click on the Memory under Triggered By session.

    • You can clearly see the Events which are taking more memory.

    enter image description here

    Also refer Configure Application Insights Profiler for more details.