open-telemetry/opentelemetry-ruby

Not able to capture traces for ruby on rails service with rails version 4.2.8.

sheetalkarande-automation opened this issue · 1 comments

Description of the bug

Not able to capture traces for ruby on rails service with rails version 4.2.8.

Share details about your runtime

Operating system details: Linux
RUBY_ENGINE: "ruby"
RUBY_VERSION: "2.6.2"
RAILS_Version : "4.2.8"

Share a simplified reproduction if possible

gem 'opentelemetry-sdk', '> 1.1'
gem 'opentelemetry-test-helpers', '
> 0.3.0'
gem 'opentelemetry-instrumentation-all', '> 0.28.0'
gem 'opentelemetry-exporter-otlp', '
> 0.24.0'

in application.rb aded below lines to Initialise Observability Setup
OpenTelemetry::SDK.configure do |c|
c.use_all()
end

What is the expected behavior?
Should be able to capture traces for api calls.

What is the actual behavior?
Not able to capture traces.

Unfortunately we do not provide support for EoL Ruby or Rails.

We will not change this policy.

There are some earlier versions of the SDK that go as far back as supporting Ruby 2.7 but I don't think the instrumentations ever supported Rails 4.