I have correctly set up the APM agent and APM server is up and running. However, I can only see the APM Onboarding logs and no APM transaction logs are visible on the Discover tab. My APM server and APM-agent are deployed on the same server so they are able to communicate with each other.
Details:
I have a non-springboot JAVA application
ELK version: 6.5.2
I took the official elastic training for APM fundamentals. What I observed was that the java agent had a different controller with different REST API endpoints defined packaged in a spring boot application.
In our case, we do not explicitly define any REST endpoints or particular controllers as such but we do have calls to MongoDB. Should MdB calls be instrumented at the least?
What we have are micro-services that talk to each other using GRPC calls. Does Elastic APM work in that case?
Also does Elastic APM java agent work for non-springboot applications as most of the examples on Java agent stress on Spring-boot framework for REST APIs?
Further details on our services:
JDK used: Oracle JDK 8
No Tomcat or Jetty server deployed. Our micro services are deployed as separate JARs. Also in apm-server logs, I can't find logs with string 's.w.s.m.m.a.RequestMappingHandlerMapping' . Does that mean that APM is not able to handle REST mappings from my java application onto APM module?
As an alternative, can we include APM jar as a dependency to our Java project and explicitly define spans and transactions inside our application to get the insights on REST calls ?
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.