Hey, hope you’re well :grinning: Could really use ...
# support
r
Hey, hope you’re well 😀 Could really use some help with next steps. I’m seeing this error: E, [2025-03-12T154717.722687 #13] ERROR -- : OpenTelemetry error: Unable to export 260 spans With a new Ruby on Rails v8.01 application. These are the values in the environment variables:
Copy code
OTEL_EXPORTER=otlp
OTEL_SERVICE_NAME=rails_app
OTEL_EXPORTER_OTLP_ENDPOINT=<http://signoz-otel-collector:4317>
I also tried port
4318
, and
4318/v1/traces
which also didn’t work The app and all the signoz containers are in the same docker network. Gemfile contains:
Copy code
opentelemetry-sdk (1.8.0)
    opentelemetry-exporter-otlp (0.30.0)
    opentelemetry-instrumentation-all (0.74.0)
Copy code
troubleshoot checkEndpoint --endpoint=signoz-otel-collector:4317
2025-03-12T17:07:32.743Z	INFO	workspace/main.go:28	STARTING!
2025-03-12T17:07:32.743Z	INFO	checkEndpoint/checkEndpoint.go:41	checking reachability of SigNoz endpoint
2025-03-12T17:07:32.746Z	INFO	workspace/main.go:46	Successfully sent sample data to signoz ...
After following some of the steps here, but using the docker compose installation steps: https://signoz.io/docs/instrumentation/opentelemetry-ruby-on-rails/
p
are you able to see spans from your Ruby application in the Traces explorer page?
r
I can see spans in the console when I use this env variable: OTEL_TRACES_EXPORTER=console
Have a missed a next step here?
p
@Nagesh Bansal do you have any suggestions here?
n
Hey @Ralph Decatrel, are you still facing the issue? I tried with recreating this with similiar versions and I was able to get the traces. Let me know if you're still facing it
r
@Nagesh Bansal yes, still have the issue. Can you share the versions if different? And thanks for your time and attention.
n
Hey @Ralph Decatrel I'm runnning the same version with : ruby: 3.4.2 rails: 8.0.1
Let me know if you're available for a call, we can debug it there
Hey @Ralph Decatrel were you able to resolve the issue?
r
@Nagesh Bansal I tried using Ruby 3.4.1 but the debug gem does not work with that version correctly. This isn’t in your scope but I’m unable to work with that and didn’t have time to experiment further.