Elasic APM does not show full stack trace of transaction

I have configured Elastic APM monitoring for an app running Spring Boot with a very basic configuration option as follows:
-javaagent:/snap/elasticapm/elastic-apm-agent-1.15.0.jar -Delastic.apm.service_name=JobsApp -Delastic.apm.server_url=http://ELK_server:8200 -Delastic.apm.secret_token= -Delastic.apm.application_packages=com.myapp

Kibana version: Kibana 7.6.2

Elasticsearch version: 7.6

APM Server version: 7.6.2

APM Agent language and version: Java agent version 1.15

Browser version: Chrome

Original install method (e.g. download page, yum, deb, from source, etc.) and version:

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
The transaction stack trace of a REST service call does not have the full call hieararchy. It only shows the REST controller method and the SQL call.

Please let me know how to improve the information captured in transactions.

Check this out: https://www.elastic.co/guide/en/apm/agent/java/current/java-method-monitoring.html

1 Like