How Does AXA Determines which Transactions are Flagged as Slow?

Document ID : KB000015078
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

    In AXA, Slow Transaction are defined as...

Slow Transactions: Dynamic computation of slow transaction marks a transaction as slow if the transaction takes at least 1000 milliseconds to complete or takes longer than the moving average of the completion time for the selected time period.

Source: https://docops.ca.com/ca-app-experience-analytics/16-4/en/using/axa/app-transactions

Question:

    What computations are performed to determine if a transactions is slow? Does AXA allow user configuration changes to define when transactions are flagged as slow?

Environment:
AXA version 16.4.2
Answer:

    AXA, by default, defines a slow transaction as any transaction that exceeds 1000 ms. This process is used until 1000 transactions are recorded. After 1000 transactions have occurred, AXA switches to a moving average that considers the previous 1000 transactions and alerts if the transaction time was higher than the calculated average of the last 1000 transactions.

Users can change the slow transaction alerting threshold, on a per application basis, by manually defining an Alert. This is done under the "Alerts".

Alerts.png

Click "Alerts" then "Set & Edit Alerts" (Note you need to have filtered on a specific application for the alert thresholds to display.)

SetandEdit.png

Then under, "Transaction Duration", you can manually define an alert.

TransactionDuration.png

Any manually defined alert will take precedence over AXA's default logic. For more information on defining alerts, see:
https://docops.ca.com/ca-app-experience-analytics/16-4/en/using/axa/manage-alerts

 

The default behavior alerting behaviors of AXA can also be modified:

1. To change the static 1000 ms alerting threshold used for all applications with less than 1000 reported transactions....

-Navigate to $AXA_HOME/conf/mdo-aggregator_instance.properties
-Edit the property "asat.slow.threshold = 1000" with the new desired threshold in ms.
-Restart the Aggregator Process by navigating to $AXA_HOME/bin and running the following commands:
./stopServices.sh -A
./startServices.sh -A

 

2. To update the number of transactions used for to calculate the moving average....

- In your AXA rdbms instance, run the following update statement:

Update ARCMNCONFIG set paramvalue='<number of transactions>' where paramname='MDO.SlowTxnAvgSampleMinCount';
Commit;

For example, the following would update AXA to use 500 transactions in moving average calculations:

Update ARCMNCONFIG set paramvalue='500' where paramname='MDO.SlowTxnAvgSampleMinCount';
Commit;

-Restart AXA by navigating to $AXA_HOME/bin and running the following commands:
./stopServices.sh -axa
./startServices.sh -axa

 

Additional Information:

    As always,  contact CA Support if you have further questions.