AppD Archive

How to profile a thread in a .NET request ?

CommunityUser
Splunk Employee
Splunk Employee

Hi,

My .NET web applicaion spawns three threads inside it. 

But in the appdynamics call graph i can see only the functions in the main thread of the request. But i cannot see the function calls that belongs to the three threads of that request.

Should i set any configuration setting to profile the threads in the request ?

Regards,

./Rahul

Tags (4)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Can i get any reply regarding this thread ?

Venu_Babu_Thang
Communicator

Hi,

Please follow the below steps to see the thread correlation between the threads.

  1. Add the below section in the Config.xml file and save the file.
    <machine-agent>
        <instrumentation>
            <instrumentor name="ThreadCorrelationThreadPoolCLR2Instrumentor" enabled="true"/>
            <instrumentor name="ThreadStartCLR2Instrumentor" enabled="true"/>
            <instrumentor name="ThreadStartCLR4Instrumentor" enabled="true"/>
        </instrumentation>
      </machine-agent>
  2. Then add the following property "thread-correlation" in the Controller UI for the web applicaion tier.
  3. Then restart the AppDynamics Agent Coordinator service and the IIS.
  4. Then generate the traffic on the application for 5-10 mins and then check the snapshots to see if all the threads are showing.

Please let us know if you still face any issues.

Thanks,

Venu.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...