Troubleshooting Self-Hosted Signoz Integration with ExpressJS App

TLDR Kalpesh had difficulty integrating a self-hosted Signoz to an ExpressJS App. Srikanth offered clarification and suggested to make the cluster endpoint accessible by exposing the ports.

Photo of Kalpesh
Kalpesh
Sat, 07 Oct 2023 14:11:35 UTC

Hi Team I have self hosted signoz to a custom domain. I tried to record monitoring of the sample app (from Signoz docs) and it works fine. But I am unable to record metics of my expressjs application in my self hosted version. How do I integrate that?

Photo of Srikanth
Srikanth
Sat, 07 Oct 2023 17:13:43 UTC

What do you mean by _unable to record metics of my expressjs application in my self hosted version._ Did mean you are not able to instrument or not able to view them? Did you instrument and set up the SDK correctly?

Photo of Kalpesh
Kalpesh
Mon, 09 Oct 2023 09:06:20 UTC

Hey Srikanth , so I have installed signoz using helm on my eks cluster and I am deploying it. Now how do I connect my app to signoz so that metrics are recorded? I have referred the doc and I saw there’s a `OTEL_EXPORTER_OTLP_ENDPOINT` url that we have to give in order for it to connect to signoz. Where do I get thatl? Do I have to deploy port 4318 too?

Photo of Srikanth
Srikanth
Mon, 09 Oct 2023 10:21:33 UTC

You make the cluster endpoint accessible to app by exposing the ports