https://signoz.io logo
#general
Title
# general
s

Shruti Choudhary

09/27/2022, 12:43 PM
Hello everyone, I tried the below link for Node js intrumentation. https://signoz.io/blog/nodejs-opensource-application-monitoring/ For some reason, the traces/metrics are not showing up on the Signoz frontend, what could be the possible issues. How do I debug? I dont see any error
a

Ashu

09/27/2022, 12:49 PM
Hi Shruti, Welcome to the community 👋 Your application must generate some data for it appear on the UI. Can you check this once: https://signoz.io/docs/instrumentation/javascript/#validating-instrumentation-by-checking-for-traces
s

Shruti Choudhary

09/27/2022, 1:02 PM
My application does generate data as the consoleExporter works. The signoz UI still doesnt display any data.
a

Ashu

09/27/2022, 1:03 PM
Ok. Can you try this troubleshooting guide to check whether SigNoz Otel collector is accessible from your app: https://signoz.io/docs/install/troubleshooting/?
s

Shruti Choudhary

09/27/2022, 1:15 PM
I amgetting a connection refused, what could be the potential issue
2022-09-27T131412.996Z INFO troubleshoot/main.go:28 STARTING! 2022-09-27T131412.997Z INFO checkEndpoint/checkEndpoint.go:41 checking reachability of SigNoz endpointError: not able to send data to SigNoz endpoint ... rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 127.0.0.14317 connect: connection refused"
a

Ashu

09/27/2022, 1:22 PM
Might be a permission issue. Port 4317, and 4318 on the machine where SigNoz is installed should be open to receive the telemetry data. Here's an OTel collector address grid guide. @Prashant Shahi can you look into this?
s

Shruti Choudhary

09/28/2022, 1:49 AM
This works when I execute the node app with sudo.
p

Prashant Shahi

09/28/2022, 5:05 AM
@Shruti Choudhary That could happen when there is issue with docker network. Or it could be related to node itself. Could you please try troubleshooting binary? https://signoz.io/docs/install/troubleshooting/
With that you can test whether or not, the signoz otel-collector OTLP endpoint is exposed and accessible.
2 Views