I am using Java elastic APM agent version 1.36 with my kafka based application.
The Kafka based application uses custom thread pool which is developed by using LinkedBlockingQueue for holding tasks.
However, I am unable to get the kafka traces of the class that behaves as a Task for the worked threads. This task holds the logic to send messages to the kafka server.
The same works when Java's inbuilt executor framework is used instead of custom threadpool.
The executor framework is supported by the apm agent is known to me but in case of custom threadpool implementations , Are the traces not captured?
I also tried to add the Task.java class of my sample application in the trace_methods property but still unable to get the traces captured.
Is there any other way to get the trace captured? Please advise.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.