How to set automatic transaction traces on the EM.

Document ID : KB000066486
Last Modified Date : 13/03/2018
Show Technical Document Details
Question:

How to set automatic transaction traces on the EM?

Environment:
Introscope from 9.7 awards.
Answer:

In the <EM_HOME>/Config directory, create a new file called:

-PersistentTransactionTracerConfiguration.xml

Populate this file with the following:

<?xml version="1.0"?>

<PersistentTracerConfiguration> 

<TraceSession enabled="true" agentExpression=".*"> <!--trace all transactions lasting longer than 5 sec-->

                <ThresholdFilter thresholdInMillis=“50"/>

</TraceSession>

<TraceSession enabled=“true" agentExpression=".*"><!-- capture traces that match each of the filters contained within the AndFilter -->

                <AndFilter>

                               <ThresholdFilter thresholdInMillis="2"/> <!-- capture traces with a duration that exceeds the given threshold --> 

                               <ErrorFilter errorString="*"/><!-- capture traces that match the given error string glob --> 

                </AndFilter>

</TraceSession>

</PersistentTracerConfiguration> 

 

Save the file and then restart the Enterprise Manager for these settings to take effect.