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?