‘opentelemetry/exporter/jaeger' # Require the gems listed in Gem f ile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) OpenTelemetry::SDK.con f igure do |c| c.use_all c.add_span_processor( OpenTelemetry::SDK::Trace::Export::BatchSpanProcessor.new( exporter: OpenTelemetry::Exporter::Jaeger::AgentExporter.new(host: '0.0.0.0', port: 6831) ) ) c.service_name = 'sample-app' c.service_version = '0.0.1' end module RailsSample class Application < Rails::Application # Initialize con f iguration defaults for originally generated Rails version. con f ig.load_defaults 6.1 # Con f iguration for the application, engines, and railties goes here. # # These settings can be overridden in speci f ic environments using the f iles # in con f ig/environments, which are processed later. # f