APM No services found

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

APM tab shows "No services were found" error.

Hi and thanks for trying out the Java agent!

Could you send me the full debug logs of the agent? See https://www.elastic.co/guide/en/apm/agent/java/current/trouble-shooting.html

Hi @felixbarny

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?

Thanks,
Mishal

I'm sorry to say that the Java agent does currently support neither MongoDB nor gRPC.

Here is a list of all currently supported technologies: https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html

Hi @felixbarny,

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 ?

Sure, that is possible. See https://www.elastic.co/guide/en/apm/agent/java/current/public-api.html.

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

I am re-opening this old topic because an official gRPC plugin is about to be merged and should be available in the next release (likely 1.15.0).

Here is the link to the pull-request: https://github.com/elastic/apm-agent-java/pull/1019