# While running the service after injecting nodejs agent wrapper, my metrics are seen on Discover tab, but does not shows on APM screen

**URL:** <https://discuss.elastic.co/t/while-running-the-service-after-injecting-nodejs-agent-wrapper-my-metrics-are-seen-on-discover-tab-but-does-not-shows-on-apm-screen/204575>\
**Category:** APM\
**Tags:** nodejs\
**Created:** [October 22, 2019, 5:55am UTC](https://discuss.elastic.co/t/while-running-the-service-after-injecting-nodejs-agent-wrapper-my-metrics-are-seen-on-discover-tab-but-does-not-shows-on-apm-screen/204575 "2019-10-22T05:55:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Puneet\_Anand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/puneet_anand/32/34428_2.png) [@Puneet\_Anand](https://discuss.elastic.co/u/Puneet_Anand)\
**Post date:** [October 22, 2019, 5:55am UTC](https://discuss.elastic.co/t/while-running-the-service-after-injecting-nodejs-agent-wrapper-my-metrics-are-seen-on-discover-tab-but-does-not-shows-on-apm-screen/204575/1 "2019-10-22T05:55:40Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text 🙂

**Kibana version** :6.4

**Elasticsearch version** :6.4

**APM Server version** :6.5.1

**APM Agent language and version** : Nodejs, 3.0.0

**Browser version** :

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:deb

**Fresh install or upgraded from other version?**

**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

**Steps to reproduce** :

1. while running the service after injecting agent wrapper, my metrics are seen on Discover tab, but does not shows on APM screen
2. 
3. 

**Errors in browser console (if relevant)**:

**Provide logs and/or server output (if relevant)**:

---

<div class="post-metadata">

**Author:** ![stephenbelanger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenbelanger/32/34880_2.png) [@stephenbelanger](https://discuss.elastic.co/u/stephenbelanger)\
**Post date:** [October 23, 2019, 12:25am UTC](https://discuss.elastic.co/t/while-running-the-service-after-injecting-nodejs-agent-wrapper-my-metrics-are-seen-on-discover-tab-but-does-not-shows-on-apm-screen/204575/2 "2019-10-23T00:25:55Z")

</div>

Which types of metrics are you referring to specifically? There are several different types of metrics and they all come from different places.

---

<div class="post-metadata">

**Author:** ![Puneet\_Anand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/puneet_anand/32/34428_2.png) [@Puneet\_Anand](https://discuss.elastic.co/u/Puneet_Anand)\
**Post date:** [October 23, 2019, 4:03am UTC](https://discuss.elastic.co/t/while-running-the-service-after-injecting-nodejs-agent-wrapper-my-metrics-are-seen-on-discover-tab-but-does-not-shows-on-apm-screen/204575/3 "2019-10-23T04:03:40Z")

</div>

so i dont see my service listed in APM section, i only see them under discover tab

---

<div class="post-metadata">

**Author:** ![Puneet\_Anand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/puneet_anand/32/34428_2.png) [@Puneet\_Anand](https://discuss.elastic.co/u/Puneet_Anand)\
**Post date:** [October 24, 2019, 3:16am UTC](https://discuss.elastic.co/t/while-running-the-service-after-injecting-nodejs-agent-wrapper-my-metrics-are-seen-on-discover-tab-but-does-not-shows-on-apm-screen/204575/5 "2019-10-24T03:16:38Z")

</div>

can someone provide help here, when i am running my nodejs service locally ,i see information both in APM and discover tab, but when i run my service in container i see information only in discover tab not in APM tab.

i would also like to understand the diff between discover tab and APM tab

---

<div class="post-metadata">

**Author:** ![stephenbelanger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenbelanger/32/34880_2.png) [@stephenbelanger](https://discuss.elastic.co/u/stephenbelanger)\
**Post date:** [October 24, 2019, 9:29pm UTC](https://discuss.elastic.co/t/while-running-the-service-after-injecting-nodejs-agent-wrapper-my-metrics-are-seen-on-discover-tab-but-does-not-shows-on-apm-screen/204575/6 "2019-10-24T21:29:21Z")

</div>

Do you see any specific differences in the data between running locally and running in the container?

---

<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:** [November 14, 2019, 5:29pm UTC](https://discuss.elastic.co/t/while-running-the-service-after-injecting-nodejs-agent-wrapper-my-metrics-are-seen-on-discover-tab-but-does-not-shows-on-apm-screen/204575/7 "2019-11-14T17:29:26Z")

</div>

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