Implementing Nginx Opentracing into SigNoz
TLDR Al is trying to implement nginx opentracing into SigNoz but encounters issues. Srikanth suggests exploring OpenTelemetry support for nginx instead.
May 10, 2023 (2 weeks ago)
Al
10:08 PMHas anyone successfully instrumented nginx opentracing into signoz?
nginx-config:
opentracing: 'True'
opentracing-tracer: /usr/local/lib/libjaegertracing_plugin.so
opentracing-tracer-config: |
{
"service_name": "nginx-ingress",
"sampler": {
"type": "const",
"param": 1
},
"reporter": {
"localAgentHostPort": "otel-collector.opentelemetry-operator-system:14250"
}
}
otel-collector:
ports:
- containerPort: 55679
protocol: TCP
- containerPort: 4317
protocol: TCP
- containerPort: 14250
protocol: TCP
- containerPort: 14268
protocol: TCP
- containerPort: 9411
protocol: TCP
- containerPort: 8888
protocol: TCP
otel-collector-config:
receivers:
otlp:
protocols:
grpc:
http:
jaeger:
protocols:
grpc:
endpoint: 0.0.0.0:14250
thrift_http:
endpoint: 0.0.0.0:14268
Also in
otel-collector-config
further down: pipelines:
traces/1:
receivers:
- otlp
- jaeger
Not sure what I'm missing, thanks!!
May 12, 2023 (2 weeks ago)
Srikanth
08:13 AMAl
08:05 PMWe have tried the following.
In
nginx-config
, we have tried using:"otel-collector.opentelemetry-operator-system:14250"
and also
"otel-collector.opentelemetry-operator-system:14268"
We have confirmed that
/usr/local/lib/libjaegertracing_plugin.so
exists.I think we need to troubleshoot nginx and whether it is in fact initializing the
opentracing-tracer-config
I do not see anything in the nginx logs that indicates that tracing initialized.It would also be good to confirm whether
jaeger.protocols.grpc
orjaeger.protocols.thrift_http
connections are being received at the otel-collector
May 15, 2023 (2 weeks ago)
Srikanth
06:48 AMMay 23, 2023 (6 days ago)
Al
01:56 PMSigNoz Community
Similar Threads
Configuring SigNoz with Istio Traces and Service Monitors
Zakaria asked about integrating SigNoz with istio traces and Prometheus service monitors. Srikanth suggested using OpenTelemetry operator and provided guidance for troubleshooting and solving configuration issues in the process.
Troubleshooting Signoz Dashboard Not Showing Traces
prasanth encountered issues with Signoz dashboard not displaying traces. Srikanth recommended configuring the `OTEL_EXPORTER_OTLP_ENDPOINT`, but they are still facing issues with the exporter's connection.
Troubleshooting SigNoz Auto-Instrumentation Configuration
igor is having trouble configuring auto-instrumentation for Java applications using SigNoz, with traces not appearing in the SigNoz UI. Prashant advises to check logs of the otel sidecar, use service name for endpoint, verify supported libraries, and test with telemetrygen. However, the issue still persists.
Trace Testing with SigNoz and Otel in Kubernetes
Pradeep asks about trace testing using SigNoz as a backend. Vishal requests examples of desired testing. Pradeep shares code snippets but has not received a solution yet.
Instrumenting Flask App with Opentelemetry and SigNoz Issues
John faced issues with instrumenting Flask app, but with Srikanth's help resolved the errors. Vishal offered further support through a call.


