some agents collect useless transaction traces every two minutes, see below.
In the past a "PersistentTransactionTracerConfiguration.xml" file was available to manually to turn on/off transaction traces.
My question is this function still available with APM 10.5.1, if yes is this a way to disable traces.
Another way to disable these traces.
Thanks for any suggestion,
I hope that your fellow community members respond as well
What you are doing is documented in How to set automatic transaction traces on the EM. - CA Knowledge It is inconclusive it still is there or not in 10.5 or later
Other KDs that may be of interest
thanks for your hints to the knowledge database. Some times ago CA renamed/reorganised the KB documents, unfortunately the old links are gone and I lost my useful collection of useful/important documents.
However, back to the discussion/question. From the Trace View I take the folowing information.
Application Name: AbiWebAppClass: com.ibm._jsp._pingContext Path: /abi:Trace Type: SampledURL: /abi/jsp/tao/basic/ping.jsp
And add a TraceSession statement to the PersistentTransactionTracerConfiguration.xml file.
<TraceSession enabled="true" agentExpression=".*\|.*"><!-- Capture traces for the specified URL (operationType of "2" means it ends with). --> <AndFilter> <ParameterFilter parameterName="URL" parameterValue="/ping.jsp" operationType="2"/> <ThresholdFilter thresholdInMillis="100"/> </AndFilter></TraceSession>
After removing some typos the TransactionTracer will loaded the new statement.
7/31/18 03:48:56.173 PM CEST [INFO] [main] [Manager.TransactionTracer] Started transaction trace for transactions longer than 5000ms7/31/18 03:48:56.174 PM CEST [INFO] [main] [Manager.TransactionTracer] Started transaction trace for transactions: with URL that ends with /ping.jsp and exceeding 100 milliseconds
Nice to know this is still working, see KB000066486.
But I can't find a way stop tracing /ping.jsp with a duration of 0 ms or 1 ms. The Sampled traces are still collected. The new Statement doesn't override the used settings/definitions, the default behaviour.
Suggested by KB000008503 I set introscope.agent.transactiontracer.tailfilterPropagate.enable to false,but get traces again (I restart the application).
We already use some properties suggested by KB000010688introscope.agent.errorsnapshots.enable=trueintroscope.agent.errorsnapshots.throttle=10andintroscope.agent.deep.automatic.trace.crossprocess.enabled=false
I add introscope.agent.transactiontracer.tailfilterPropagate.enable=false only, see above.
The Sampled Traces are still collected. I take a look to PersistentTransactionTrace0.1.xsd, but can't find any useful statement to disable or override the trace behaviour.
Any idea, suggestion,
based on https://docops.ca.com/ca-apm/10-5/en/implementing-agents/java-agent/configure-java-monitoring/configure-transaction-trace-optionsI use a sledgehammer, set introscope.agent.transactiontracer.sampling.enabled to false for some agents.7/31/18 06:05:26 PM MESZ [INFO] [IntroscopeAgent.Agent] Url Sampling has been disabled7/31/18 06:05:26 PM MESZ [INFO] [IntroscopeAgent.Agent] Configuration property (introscope.agent.transactiontracer.sampling.enabled) set to "false"
In general I change the EM propertiesintroscope.agent.transactiontracer.sampling.perinterval.count=1introscope.agent.transactiontracer.sampling.interval.seconds=120 to 300to reduce the collected Sample Traces.But this is a bad way and the useless traces are collected furthermore in a less frequency.Lutz
In your MOM & Collector EM properties files do you have this value uncommented/set to any value?
In any case it may be worth explicitly setting it to no value on MOM & Collectors to see if has any effect i.e.
I am not 100% sure if EM restart is needed
I changed the property (in the Mom and all Collectors) and restart the EMs.
# Comma separated list of TT types to be matched, TTs of all other types will not be considered for processing# to generate AppMap artefacts.#introscope.enterprisemanager.transactiontrace.filter.types=Normal,Sampledintroscope.enterprisemanager.transactiontrace.filter.types=
The traces are still collected every 5 minutes. Yesterday I set the interval from 120 to 300 second,
I thought the AppMap artefacts are generated from collected traces only, if traces are available. Start the AppMap functions traces in the background to get some data. If so, the used "ping.jsp" create useless information, the jsp is used to check the application availability only.