Java Agent not supporting basic spring batch applications. I have two spring batch applications. One is using the scheduled option in it, java agent sends all information without issue. Second is basic, one off spring batch application (for initial import large data) and no trace information on Kibana.
Kibana version: 8.3.4
Elasticsearch version: 8.3.4
APM Server version: 8.3.4
APM Agent language and version: Java 1.34.1
Browser version:
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
Fresh install or upgraded from other version?
Is there anything special in your setup? F
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
one of them works as expected with APM agent, but not the other
In order to rule-out any communication or agent setup issue, could you check if both applications have some metrics visible in Kibana in the Service > JVM tab ? Metrics are sent by default so we can use their presence to validate agent setup and communication.
Is there any difference in architecture or code between the two applications ? For example is one of them relying on annotations and the other on interface implementation to achieve similar tasks ? Providing a short code sample (or better a sample app if you can) could help a lot here.
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.