Elastic APM Not Displaying Scheduler jobs

7.5.1 Elastic search:

7.5.1 Kibana:

7.5.1 APM server:

Java 1.8:

Chrome 79.0.xx:

download page:

Fresh install

Plain setup with ELasticsearch kibana and APM Server with agent in a simple tomcat server

Scheduled jobs are being shown in logs for agent trace logs. But not displayed in stack trace in kibana.

Steps to reproduce:
1.Install the required basic setup for apm server. Install app in tomcat with scheduled jobs.
2. Scheduled jobs should be running and we see the trace in apm agent logs in app server logs.
3. Watching trace chart in apm ui in Kibana . No scheduled job trace is displayed, except for the trigger !!

No errors in console.

Is the tracing limited to main java server threads? Also can Junit tests be traced?

Hi and welcome to the forum!

In the transactions view, you have to select the scheduled transaction type.

If it's not there, could you tell me which framework you are using for scheduled jobs? Which an annotation are you placing on top of the scheduled method?

This is a list of scheduling frameworks we currently support: https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html#supported-scheduling-frameworks

This should get you started: https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html#supported-java-methods

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