AppD Archive

Capturing POJO business transaction

CommunityUser
Splunk Employee
Splunk Employee

Hi,

We have successfully configured our app server to talk to app dynamics server. Also, we are able to caputre some business transaction (POJO). We want to know if it is possible to configure the BT such that it would capture all the subsequent method calls and thread calls that are executed as result of one transaction.

To be more clear, say some method doSomething() is configured as Business transaction. And this method would call a sequence of other methods (of other classes) and possibly spawn few threads. We want to know if it is possible to capture them as well.

Thanks for the help.

Regards,

Anitha

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

As I understand your question, this is not only possible, but it is the default behavior. If you configure someMethod() as a POJO entry point, and that method calls other methods, connects to other monitored tiers, or spawns threads, these will generally be correlated to the resultant business transaction. The one caveat is that those "other methods, etc" have to be called or connected to using protocols that AppDynamics can correlate.

As an example, in our training application, we discover a POJO entry point at a method called validateCC(). This creates a business transaction which we call CCTerminal. The validateCC() is called in the "mz_service" tier of our application. However, when we look at the dashboard for that business transaction we see:

image.png

This is because the validateCC() method calls code that makes an HTTP connection to an external web service, which, as you can see, is properly correlated by AppDynamics.

If we take a snapshot of the CCTerminal transaction, we get the following call graph:

image.png

As you can see, AppDynamics has captured the fact that the validateCC() method has called another method called validateCredtCard(). AppDynamics has also figured out that this validateCreditCard() method makes an HTTP exit call to some other component, as you can see by the "Exit Calls/Threads" column. This happens without any extra configuration.

Hope this helps to clarify.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks for the fast response and for explaining with an example.

I got this link from one of my colleague. 

https://docs.appdynamics.com/display/PRO40/Configure+Multithreaded+Transactions+for+Java

We want to capture all the application threads that are spawned by the Business transaction. 

Currently, after some trial and error configurations, we get the following stack. (like threads from java.lang and com.google)

Can we get some help on configuring it?

 image.png

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
I can't help you with your specific configuration, but you're welcome to
contact our support staff or ask for more specific support on the community
site.

Thanks,

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...