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!

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...

New This Month in Splunk Observability Cloud - Synthetic Monitoring updates, UI ...

This month, we’re delivering several platform, infrastructure, application and digital experience monitoring ...