# APM in kibana only shows my java application frontend

**URL:** <https://discuss.elastic.co/t/apm-in-kibana-only-shows-my-java-application-frontend/326875>\
**Category:** APM\
**Tags:** java\
**Created:** [March 2, 2023, 4:07pm UTC](https://discuss.elastic.co/t/apm-in-kibana-only-shows-my-java-application-frontend/326875 "2023-03-02T16:07:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![irivas95](https://avatars.discourse-cdn.com/v4/letter/i/839c29/32.png) [@irivas95](https://discuss.elastic.co/u/irivas95)\
**Post date:** [March 2, 2023, 4:07pm UTC](https://discuss.elastic.co/t/apm-in-kibana-only-shows-my-java-application-frontend/326875/1 "2023-03-02T16:07:37Z")

</div>

Hi,  
I am using the following application,Deployed on a GKE cluster,[opbeans-java](https://github.com/elastic/opbeans-java)

the application as such is considered as the backend while the RUM part is considered as frontend.  
To get the RUM part I just added a java script to the index.html of my web application, between title" and "link":

```auto
    <title>OpBeans</title>
   <script>
     ;(function(d, s, c) {
       var j = d.createElement(s),
         t = d.getElementsByTagName(s)[0]

       j.src = '/js/elastic-apm-rum.umd.js'
       j.onload = function() {elasticApm.init(c)}
       t.parentNode.insertBefore(j, t)
    })(document, 'script', {serviceName: 'opbeans-java-UI', serverUrl: 'https://ab2d61b6130e479a8ac013d86b83bbc6.apm.us-central1.gcp.cloud.es.io:443'})
   </script>
    <link href="/css/opbeans.css" rel="stylesheet">

```

at times I have managed to display both the frontend and backend on the services screen:

![image](https://us1.discourse-cdn.com/elastic/original/3X/4/8/48438dbcf5d06fc75d580ad0cf7eb1189dfa8bdc.png)

However, without having made any changes to the application I now only see the frontend.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/9/39df194c4f8aa64f555420651816b65e68f422f8.png)

Does anyone know what this could be due to?  
thanks in advance.

---

<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 2, 2023, 4:26pm UTC](https://discuss.elastic.co/t/apm-in-kibana-only-shows-my-java-application-frontend/326875/2 "2023-03-02T16:26:53Z")

</div>

Hi @irivas95 ,

You should check the [troubleshooting guide](https://www.elastic.co/guide/en/apm/agent/java/current/trouble-shooting.html) in our documentation.

Here I would suggest to start by looking at the Java agent logs, checking the configuration (which is displayed when the app/agent starts), then checking for any error in the logs that could indicate a communication issue.

---

<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:** [March 23, 2023, 12:27pm UTC](https://discuss.elastic.co/t/apm-in-kibana-only-shows-my-java-application-frontend/326875/3 "2023-03-23T12:27:23Z")

</div>

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