AppDynamics Application Intelligence Platform
Diagnostic sessions are triggered based on the performance metrics for a business transaction. The average response time of a business transaction does not include the execution time of its asynchronous activity. If you have asynchronous processing in your application, it might be possible for the originating transaction to execute within normal bounds even though the asynchronous activity takes longer than normal. To diagnose an issue like this, you can create a custom health rule based on the average response time (or other performance metric) of the asynchronous activity and use that health rule to set up a policy that triggers a diagnostic session on the transaction. The general steps to do this are described in the following example that uses a metric for an async thread task.