Opentelemetry instrumentation not working properly with Ruby 2.6. #1561
dil-anandp
started this conversation in
General
Replies: 1 comment 14 replies
-
Please note that the minimum requirements for OTel Ruby are v3.0+ https://opentelemetry.io/docs/instrumentation/ruby/getting-started/#prerequisites |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have used compatible versions of Opentelemetry instrumentation libraries for my Rails app running with image ruby:2.6.6-alpine3.12.
Gemfile
gem 'opentelemetry-sdk', '
> 1.2', '>= 1.2.1'> 0.24.2'gem 'opentelemetry-exporter-otlp', '
gem 'opentelemetry-instrumentation-all', '~> 0.33.0'
I followed https://opentelemetry.io/docs/instrumentation/ruby/automatic/.
After completing steps and doing docker-compose it is showing an error given below.
bundle/gems/opentelemetry-exporter-otlp-0.24.2/lib/opentelemetry/exporter/otlp/exporter.rb:404:in `parse_headers': headers must be a String with comma-separated URL Encoded UTF-8 k=v pairs or a Hash (ArgumentError)
Is this due to any compatibility issues with Ruby 2.6 and Otel.
Beta Was this translation helpful? Give feedback.
All reactions