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
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:
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:
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.
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?