# APM No services found

**URL:** <https://discuss.elastic.co/t/apm-no-services-found/161100>\
**Category:** APM\
**Created:** [December 17, 2018, 9:16am UTC](https://discuss.elastic.co/t/apm-no-services-found/161100 "2018-12-17T09:16:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MishMick](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@MishMick](https://discuss.elastic.co/u/MishMick)\
**Post date:** [December 17, 2018, 9:16am UTC](https://discuss.elastic.co/t/apm-no-services-found/161100/1 "2018-12-17T09:16:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [December 17, 2018, 9:45am UTC](https://discuss.elastic.co/t/apm-no-services-found/161100/2 "2018-12-17T09:45:47Z")

</div>

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](https://www.elastic.co/guide/en/apm/agent/java/current/trouble-shooting.html)

---

<div class="post-metadata">

**Author:** ![MishMick](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@MishMick](https://discuss.elastic.co/u/MishMick)\
**Post date:** [December 18, 2018, 12:04pm UTC](https://discuss.elastic.co/t/apm-no-services-found/161100/3 "2018-12-18T12:04:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [December 18, 2018, 12:36pm UTC](https://discuss.elastic.co/t/apm-no-services-found/161100/4 "2018-12-18T12:36:38Z")

</div>

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](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html)

---

<div class="post-metadata">

**Author:** ![MishMick](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@MishMick](https://discuss.elastic.co/u/MishMick)\
**Post date:** [December 18, 2018, 12:49pm UTC](https://discuss.elastic.co/t/apm-no-services-found/161100/5 "2018-12-18T12:49:17Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [December 18, 2018, 2:17pm UTC](https://discuss.elastic.co/t/apm-no-services-found/161100/6 "2018-12-18T14:17:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 8, 2019, 10:17am UTC](https://discuss.elastic.co/t/apm-no-services-found/161100/7 "2019-01-08T10:17:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)\
**Post date:** [March 13, 2020, 2:27pm UTC](https://discuss.elastic.co/t/apm-no-services-found/161100/8 "2020-03-13T14:27:48Z")

</div>

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](https://github.com/elastic/apm-agent-java/pull/1019)
