Unable to see any details of basic spring batch app

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):

Steps to reproduce:

  1. basic spring batch application
  2. run with java agent
  3. view in Kibana

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Hi @maw2be , welcome to our forum !

From what I understand you have:

  • two applications that rely on Spring batch
  • 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.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.