Ayan Khamza
09/01/2023, 10:05 AMCMD SERVICE_NAME=goApp INSECURE_MODE=true OTEL_EXPORTER_OTLP_ENDPOINT=signoz-otel-collector.apm-signoz.svc.cluster.local:4317 go run main.go
.
But I can't see traces and metrics in Services section in UI of Signoz. Nothing.
I used troublshoot image from that namespace and it's OK
troubleshoot/main.go:46 Successfully sent sample data to signoz
Java apps working very well. Go app not. Please any ideas ?Prashant Shahi
09/05/2023, 8:21 AMSERVICE_NAME=goApp
INSECURE_MODE=true
OTEL_EXPORTER_OTLP_ENDPOINT=signoz-otel-collector.apm-signoz.svc.cluster.local:4317
Prashant Shahi
09/05/2023, 8:24 AMCMD
section:
CMD ["go", "run", "main.go"]
^ Although, I would recommend compiling the go code into a binary and using it instead of this.