AppD Archive

Business transaction not detected

CommunityUser
Splunk Employee
Splunk Employee

I created a new Custom Match Rules to detect business transaction when a specific method of specific class is executed. I created it by right clicking the stacktrace so class name and method name is correct. I have also recycled Application Pool but I still can't see the business transaction even though I can see from snapshots that the method I selected was called.

Is there anything else I should restart or configure?

Tags (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

The only thing that I can think of is:

1. Is the method actually getting called?

2. Is there another custom rule or other interceptor (Information Point, Method Invocation Data Collector) on that method (only one interceptor per method is supported in .NET).

If none of these is the case, you'll want to look at the agent logs to see if the method is being intercepted correctly

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

By the way it is a static method, can the issue be caused by this?

0 Karma

Mike_McFarland
New Member

Static method is fine.  I assume we are talking .NET, and you waited a minute or two before recycling the pool.

Check the spelling of the method and class.  Make sure there are no spaces or invisible characters, and of course these are case sensitive.

Mike McFarland

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I am sure that the spelling is correct because I added it from Drill Down window by clicking 'configure instrumentation for this method' options. I can also see that the configuration was saved to C:\ProgramData\AppDynamics\DotNetAgent\Data\data.xml file.

By the way I also created another Poco business transaction to an instance method in a subclass of DbContext class and after restarting application pool I started getting "System.InvalidProgramException: Common Language Runtime detected an invalid program." exception when that method was called.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Yes, the method is called and there are no other interceptors. Couldn't find anything inteseting in agent logs either.

0 Karma
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...