APM Agent language and version: JAVA apm-agent-attach:1.10.0, apm-agent-api:1.10.0
Browser version: Chrome 77.0.3865.90
Java version: openjdk:11
Description of the problem including expected versus actual behavior:
We are running a spring boot application (2.1.4.RELEASE) with rest api, which makes queries to Elasticsearch (7.3.0) using java high level client:
I couldn't reproduce this by adjusting our integration tests to use the 7.3 client (meaning- it is properly traced using the 7.1 integration test).
Please set log_level to DEBUG and upload the logs.
A few questions:
Are these queries being performed synchronously as part of the request handling thread, or is there some async forking of some kind (eg usage of BlockingQueue) making the queried being done by another thread?
Which APIs are you using? If you can send specific code snippet of a query not being traced, that would be useful.
Regardless, do you get your "initial rest calls" and "calls to downstream systems" collected as single or separate traces? If you are using supported technologies, then our distributed tracing mechanism should correlate them.
Hi Eyal_Koren,
Thank you for your help
It has turned out, that my colleauges shaded high level rest client jar to be able to connect to both ES5 and ES7 instances, which we have
since the package of ES7 was shaded, APM couldn't see it
but it worked out with the normal (non-shaded) jar
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.