Hello team, I am following the signoz documentatio...
# support
r
Hello team, I am following the signoz documentation and trying to instrument the Ruby on Rails app. However, My app is failing to start with the error below.
Copy code
OpenTelemetry error: Unable to export 9 span
p
@Vishal Sharma Do you have more insights on this?
n
Hi, is this a sample application that you are trying to run or a production application to which you are trying to add instrumentation ?
v
@Rahul Mahale Did you specific
OTEL_EXPORTER_OTLP_ENDPOINT
as signoz endpoint?
r
Yes, The env variable looks like this and it is accessible too.
Copy code
echo $OTEL_EXPORTER_OTLP_ENDPOINT
signoz-otel-collector.platform.svc.cluster.local:4318
Copy code
telnet signoz-otel-collector.platform.svc.cluster.local 4318
Trying 172.20.109.100...
Connected to signoz-otel-collector.platform.svc.cluster.local.
Escape character is '^]'.
@Vishal Sharma anything else I am missing ?
v
@Rahul Mahale Can you please share more logs related to opentelemetry when you start your app?
r
sure.
DMed you log file
v
I see that some of the instrumentations failed to intialize:
WARN -- : Instrumentation: OpenTelemetry:Instrumentation:ActiveModelSerializers failed to install
I will try to instrument myself and get back to you
r
thanks
v
I was able to instrument after I followed same steps as mentioned in doc: https://signoz.io/blog/opentelemetry-ruby/
r
Interesting.
do you have few minutes to join on screenshare call ?