AppD Archive

Linking multiple transactions to create one Business Transaction.

CommunityUser
Splunk Employee
Splunk Employee

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?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
The version of the agent is 4.1.70
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...