I have set up Prometheus in my Kubernetes Google Cluster and it collects 
many services but not the NodeJS micro-service I have created.

The NodeJS service is detected by Prometheus because I can see it in the 
status -> Service Discovery but it is not an active target.

[image: Screenshot 2020-05-13 at 17.00.38.png] <about:invalid#zClosurez>


I also used an nginx-ingress to expose my NodeJS service to the internet 
and I can even navigate to the /metrics endpoint:


[image: Screenshot 2020-05-13 at 17.09.26.png]



My NodeJS service uses express and appmetrics 
<https://www.npmjs.com/package/appmetrics-prometheus/v/3.1.0> is set up for 
the `/metrics` endpoint.

How can I debug this? What can I do to check why Prometheus is failing to 
make this service an active target?



  

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/91f1b6af-8ecc-41aa-89bb-eda5a237da5d%40googlegroups.com.

Reply via email to