By default the AppDynamics .NET Agent enables multithreaded correlation for the following patterns on the Common Language Runtime (CLR) 4.x and later:
The .NET Agent also supports thread correlation for the following patterns which are disabled by default:
Thread.Starton the CLR 2.x and CLR 4.x
ThreadPool.QueueUserWorkItemon the CLR 2.x and CLR 4.x
In previous versions of AppDynamics, the .NET Agent you did not need to configure correlation for
ThreadPool.QueueUserWorkItem for the CLR 4 in the config.xml. If you explicitly call
ThreadPool.QueueUserWorkItem for the CLR 4, when you upgrade to the .NET Agent 4.3 from a previous version, you must enable the instrumentor for
ThreadPool.QueueUserWorkItem on the CLR 4 in the config.xml.
Configure Thread Correlation for .NET
Configure all instrumentation settings for the .NET Agent in the config.xml file. See Administer the .NET Agent.
- Open the config.xml file for editing as an administrator. See "Where to Configure Agent Properties" on Administer the .NET Agent.
Copy the code block below to a child element of the Machine Agent element. (See Machine Agent Element):
The configuration syntax is enabled="true".
- Save the config.xml file.
- Restart the AppDynamics.Agent.Coordinator Service.
- Restart instrumented applications for your changes to take effect.