How Do I Disable Retrace for .NET?
  • 1 Minute to read
  • Dark
    Light
  • PDF

How Do I Disable Retrace for .NET?

  • Dark
    Light
  • PDF

Article summary

In the event you want to disable Retrace's .NET profiler and APM features on a server, but want to continue monitoring the server and the apps on it without profiling, just follow these simple steps.

Disabling Tracing for an Application

If you want to disable collection of APM data for a specific application, you can add a property to the Stackify.json file to cause the profiler to be disabled.

{
    "AppName": "MyApp",
    "Environment": "Production",
    "DisableTracing": true
}
Note:

The configuration documented above does not apply to shared app pools. In order to disable tracing for an application, ensure that the site belongs to its own app pool.

Note:

This does not impact collection of logs that are sent to Retrace. For the legacy profiler, you cannot disable the profiler for one specific web application.

Disabling via Server Settings

First go to Server Settings for the server that is running APM that you wish to disable.

Simply click the Disable APM button to disable APM and to restart IIS. Once IIS restarts, it will no longer have the Retrace APM Profiler attached and you will stop seeing APM data in your application dashboard.


Was this article helpful?