Hi Jack,
So I have been working on the Persistent Tracing for a while now and have had a few hit and misses allong the way!
Now I have created the below syntaxt to trigger off either of the following 3 URL based transaction traceres based on the Agent URL, threshold and error filter. the issue that Im facing is that no transactions seem to be triggered, even when I change the threshold to a small number. Any ideas?
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
ADD THIS TO THE config/ DIRECTORY TO TURN ON TRANSACTION TRACER PERMANENTLY. NOT DOCUMENTED FORMALLY.
NAME SHOULD BE PersistentTransactionTracerConfiguration.xml.
Look for a message about persistent transaction trace in the EM log at startup. Must restart EM to take effect.
Andecdotal evidence shows that agents may need to be restarted to be traced automatically as well.
Install to both collectors and MOM;
Look for message in log that reads "Started transaction trace for transactions longer than" to show proper invocation
-->
<PersistentTracerConfiguration xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.ca.com/schemas/apm/introscope/9.1.6.0/PersistentTransactionTrace.xsd">
<!-- capture traces for Portal (orkxtcpapp01/02/03) matching the given URL expressions -->
<TraceSession agentExpression="orkxtcpapp0[0-9]\|WebLogic\|wc_customportal[0-9]" enabled="true">
<!-- capture traces for the specified URL (operationType of "0" means it much match exactly) -->
<OrFilter>
<AndFilter>
<ParameterFilter parameterName="URL" parameterValue="/web/my-money/overview" operationType="0"/>
<ThresholdFilter thresholdInMillis="15000"/>
<NotFilter>
<ErrorFilter errorString="Stalled Transaction"/>
</NotFilter>
</AndFilter>
<AndFilter>
<ParameterFilter parameterName="URL" parameterValue="/web/my-money/transfer/funds" operationType="0"/>
<ThresholdFilter thresholdInMillis="12000"/>
<NotFilter>
<ErrorFilter errorString="Stalled Transaction"/>
</NotFilter>
</AndFilter>
<AndFilter>
<ParameterFilter parameterName="URL" parameterValue="/web/my-money/accounts/details" operationType="0"/>
<ThresholdFilter thresholdInMillis="5000"/>
<NotFilter>
<ErrorFilter errorString="Stalled Transaction"/>
</NotFilter>
</AndFilter>
</OrFilter>
</TraceSession>
</PersistentTracerConfiguration>
Thanks.