DX Application Performance Management

 View Only
  • 1.  .NET monitoring question

    Posted Sep 14, 2015 01:06 PM

    Is there a way to monitor garbage collection in .NET applications? Or get more detail on what the memory is doing on the .NET application. I know how to do this with java apps but am inexperienced on the .NET side

  • 2.  Re: .NET monitoring question

    Broadcom Employee
    Posted Sep 14, 2015 01:38 PM

    From the .Net Guide I see this :


    The .NET agent property, perfmon.metric.filterPattern, specifies the Performance Monitor counters the agent reads. The default setting is:


    The filter follows the format |Object|Instance|Counter or |Object|Counter (if there is no instance) where:


    Object identifies a performance monitor category, such as Memory, Processor, or Process.


    Instance identifies a specific instance of the specified object. Some objects, such as Memory, do not have instances.


    Counter identifies the specific type of metric for the Object|Instance to be collected. For example, the .NET CLR Memory Performance Monitor object has counters such as # Bytes in all heaps, Gen 0 heap size, # GC handles, and % time in GC.


    The default filter also includes the {osprocessname} placeholder. In the Investigator, the {osprocessname} placeholder is replaced to identify the instances of the standalone applications monitored or the application pool name for the IIS worker process, for example w3wp(BusinessServiceAppPool)

  • 3.  Re: .NET monitoring question
    Best Answer

    Broadcom Employee
    Posted Sep 14, 2015 02:31 PM

    As Hal wrote there are a number of GC related metrics under ".NET CLR Memory" in PerfMon that our PerfMonAgent collects. For general information on .NET GC start at Garbage Collection on MSDN.