Configure Automatic Diagnostic Sessions for Slow and Error Transactions
You configure settings that trigger automatic diagnostic sessions from the transaction threshold configuration page. You can configure the threshold settings that trigger a diagnostic session as well as the snapshot collection frequency and duration once the session is triggered.
For performance reasons, you want to limit the duration and frequency of diagnostic sessions to the minimum required time to obtain the maximum amount of information for troubleshooting purposes. To avoid continuous collection when there are ongoing performance problems, configure the wait period between sessions and increase the time as needed.