Disable Instrumentation for an IIS Application Pool

When you install the .NET Agent on a machine and use automatic tier naming, the agent instruments every IIS application by default. If you do not need to monitor all application pools, disable monitoring for selected pools.

  1. Open the config.xml Administer the .NET Agent
  2. Add the application-pools IIS .NET Agent Configuration Properties
    <application-pools>
    <!-- Do not instrument applications in DefaultAppPool when "enabled" attribute is set to false -->
    <application-pool name="DefaultAppPool" enabled="false" >
    <tier name="Disabled App Pool" />
    </application-pool>
    </application-pools>
    Note: tier is a required element even if you are disabling an app pool.
  3. Set the application-pool DefaultAppPool application-pool
  4. Restart the AppDynamics.Agent.Coordinator service.
  5. Restart IIS.