AppDynamics Application Intelligence Platform

3.9.x Documentation

PDFs

Learn by Watching

Doc Maps

Performance Counters and the .NET Machine Agent

By default, the .NET Machine Agent uses Microsoft Performance Counters to gather and report .NET metrics. For details on the preconfigured .NET metrics see Monitor CLRs and Monitor IIS.

You can specify additional performance counters to be reported by the .NET Machine Agent.

To configure additional performance counters for .Net

  1. Shut down the AppDynamics.Agent.Coordinator service.
  2. Edit the config.xml file as an administrator. See Where to Configure App Agent Properties.

  3. Add the Performance Counters block as a child of the Machine Agent element.

      <perf-counters>
        <perf-counter cat="" name="" instance=""/>
      </perf-counters>
  4. Create a Performance Counter element for each performance counter you want to add. Use any of the performance counters as specified in Performance Counters in .NET Framework.

    • Set the cat attribute to the category of the performance counter.
    • Set the name attribute to the performance counter name.
    • Set the instance attribute to the of the performance counter.

    (info) If a particular performance counter has many instances you can specify the following options:

    • instance ="*" OR
    • instance ="all" (This will report the sum of all instances)

    For example, to add the performance counter for measuring CPU Idle time(%), add the following element in the <perf-counters> block:

    <perf-counter cat="Processor" name="% Idle Time" instance="_Total"/>
  5. Save the config.xml.
  6. Start the AppDynamics.Agent.Coordinator service.

Sample .NET Machine Agent configuration with additional performance counters

<machine-agent>
  <!-- Additional machine level Performance Counters -->
  <perf-counters>
    <perf-counter cat="Processor" name="% Idle Time" instance="_Total"/>
  </perf-counters>
</machine-agent>

 

 

  • No labels