Hi,
By any chance, can I form a single transaction by linking 2 distinct business transactions?
Let’s assume, I have created 2 POJO business transactions:
BT1 --> Using class1 and method1
BT2 --> Using class2 and method2
I need to link these 2 transactions to form one custom transaction in a way that if both are executed then only my custom transaction is considered complete.
I need to create BT3 as below:
BT3 = BT1 + BT2
In this case, total time taken i.e. one call for the custom transaction BT3 would be:
Time taken by BT1 + any process in between + Time taken by BT2
Any possibility to have this built in APPDynamics?
Hi there,
In looking at the link I provided, I see this paragraph:
"A transaction group lets you collect multiple related transactions into a single unit. After grouping transactions, you can see metrics aggregated for the group. Note that metrics for the individual transactions are still available as well."
In your request, you said:
I need to link these 2 transactions to form one custom transaction in a way that if both are executed then only my custom transaction is considered complete.
I need to create BT3 as below:
BT3 = BT1 + BT2
In this case, total time taken i.e. one call for the custom transaction BT3 would be:
Time taken by BT1 + any process in between + Time taken by BT2
So, if I'm reading this correctly, BT3 would be the transaction group. However, it appears from the documentation you might not be able to call BT3, but you can report on it. In any case, I recommend that you read through the link (https://docs.appdynamics.com/display/PRO41/Organize+Business+Transactions) for more information.
Cody
Hi Cody,
I think Grouping the transactions wouldnt solve the purpose in my case. I need to link 2 transactions.
So just to explain it more -- I need BT1 as the start point and BT2 as the end point of a transaction (BT3). I think below link is more colser to what I am looking for:
https://docs.appdynamics.com/display/PRO41/Configure+Asynchronous+Transactions
I have been trying to implement this, however its not working as explained in the link. Can you help here. Do I need to enable thread correlation for Java using below link to achieve this?
https://docs.appdynamics.com/display/PRO41/Enable+Thread+Correlation+for+Java
Hi there,
Unfortunately that's beyond my technical abilities. I recommend that you reach out to support to ask that last question here: https://www.appdynamics.com/support/
Regards,
Cody
Hi there,
In the documentation there appears to be a way to group business transactions, but I don't see anything in my first search about forming a single transaction from multiple transactions. What version of our product are you using?
I'll dig a little further for you, but this is what I could find in short order:
https://docs.appdynamics.com/display/PRO41/Business+Transactions
Cody