# Node.js not showing as a service in lab 3.3

**URL:** <https://discuss.elastic.co/t/node-js-not-showing-as-a-service-in-lab-3-3/370244>\
**Category:** APM\
**Tags:** nodejs\
**Created:** [November 8, 2024, 7:44pm UTC](https://discuss.elastic.co/t/node-js-not-showing-as-a-service-in-lab-3-3/370244 "2024-11-08T19:44:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdorcas](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@pdorcas](https://discuss.elastic.co/u/pdorcas)\
**Post date:** [November 8, 2024, 7:44pm UTC](https://discuss.elastic.co/t/node-js-not-showing-as-a-service-in-lab-3-3/370244/1 "2024-11-08T19:44:44Z")

</div>

In my Obsersability lab 3.3, the Node service is not listed as an APM service.  
I have done this lab carefully, and even had the labs restarted to begin afresh.  
The services list in the APM app should display petclinic-node, but it only shows the previous two services, petclinic-address-finder and petclinic-java.

1. All previous labs up to lab 3 of Module 3 are completed successfully with the expected results. This includes Heartbeat, logs, nginx, and java.
2. The Node.js agent is already installed on the backend server of the petclinic application. This comes pre-installed in the observability course.
3. I have edited the config.js according to my understanding and according to the examples in the instructions for lab 3.3.
4. The petclinic-node service is not listed in the APM services.

Here is an image of the configl.js file which I believe is the key to getting node.js to work.

 ![3_3_config_js](https://us1.discourse-cdn.com/elastic/original/3X/0/0/00a7163a4490a7cbe03b24ede740f7dd3fa080ad.jpeg)

My questions and needs:

1. What is missing or wrong in my config.js file?

2. Is this config.js file complete? The instructions provide a solution. It specifies that this is the contents of the configuration object. Does that mean this is the contents of the entire config.js file? Or does it mean ONLY that object and that there can be other things in the file? If so, what are those other things needed to make node.js work?

3. What can I do to troubleshoot this lab? I think there is no need to start labs all over again.

---

<div class="post-metadata">

**Author:** ![trentm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trentm/32/77647_2.png) [@trentm](https://discuss.elastic.co/u/trentm)\
**Post date:** [November 8, 2024, 10:15pm UTC](https://discuss.elastic.co/t/node-js-not-showing-as-a-service-in-lab-3-3/370244/2 "2024-11-08T22:15:49Z")

</div>

@pdorcas I'm not sure [GitHub - elastic/spring-petclinic: REST version of the Spring Petclinic sample application](https://github.com/elastic/spring-petclinic) is supported anymore. It hasn't been updated in 4 years. I notice that the versions of things for the "petclinic-node" are using unsupported versions. For example:

- Node.js version 8 being used here: [spring-petclinic/frontend/Dockerfile at master · elastic/spring-petclinic · GitHub](https://github.com/elastic/spring-petclinic/blob/master/frontend/Dockerfile#L1)
- Now unsupported version 3.5.0 of the Node.js APM agent (`elastic-apm-node`)

Can you show me a pointer to the "Observability Lab 3.3"? I am not familiar with it.

---

<div class="post-metadata">

**Author:** ![pdorcas](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@pdorcas](https://discuss.elastic.co/u/pdorcas)\
**Post date:** [November 9, 2024, 10:16pm UTC](https://discuss.elastic.co/t/node-js-not-showing-as-a-service-in-lab-3-3/370244/3 "2024-11-09T22:16:43Z")

</div>

I am very glad to get a response to my post. As this is a lab environment provided by Elastic, I can't check on all the versions of the various tools. Many of the tools and integrations came prepackaged. Thank you for your quick response!!!

I don't know how to give you a pointer to the lab. I log into the [learn.elastic.co](http://learn.elastic.co) site, select the course that I'm currently studying, and have my own lab setup with various tabs. One tab is a Linux terminal where I can do command line and nano editing on text files. I use various linux and docker commands and work in Kibana tab according to the lab instructions.. One tab is Kibana, one is the lab instructions, and one is the browser which is the petclinic user interface.

The Dynamic DNS for the site when the lab is loaded is [6ghtqicvlxrlgbvdc-ihsdbxb2mswxpjpnh.labs.strigo.io](http://6ghtqicvlxrlgbvdc-ihsdbxb2mswxpjpnh.labs.strigo.io).

The Public DNS is [ec2-52-53-169-229.us-west-1.compute.amazonaws.com](http://ec2-52-53-169-229.us-west-1.compute.amazonaws.com)

The Public IP is 52.53.169.229

The Private IP is 172.31.8.143

One approach in the labs would be to just go through them as best as I can with the labs the way they are, learn from the lab videos and instructions, and learn enough in the process to pass the final exam for Elastic Observability Engineer Certification. Thank you again for your reply!

Phil Dorcas  
[pdorcas@omegaair.com](mailto:pdorcas@omegaair.com)  
Senior Engineer, Omega Airline Software  
[www.omegaair.com](http://www.omegaair.com)

---

<div class="post-metadata">

**Author:** ![pdorcas](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@pdorcas](https://discuss.elastic.co/u/pdorcas)\
**Post date:** [November 9, 2024, 10:17pm UTC](https://discuss.elastic.co/t/node-js-not-showing-as-a-service-in-lab-3-3/370244/4 "2024-11-09T22:17:39Z")

</div>

Trent, I can email you the lab instructions that I use for lab 3.3 if that would be a help. Thank you again.  
Phil D.
