lib/opentelemetry/instrumentation/action_pack/railtie.rb in opentelemetry-instrumentation-action_pack-0.6.0 vs lib/opentelemetry/instrumentation/action_pack/railtie.rb in opentelemetry-instrumentation-action_pack-0.7.0

- old
+ new

@@ -12,10 +12,10 @@ config.before_initialize do |app| OpenTelemetry::Instrumentation::Rack::Instrumentation.instance.install({}) app.middleware.insert_before( 0, - OpenTelemetry::Instrumentation::Rack::Middlewares::TracerMiddleware + *OpenTelemetry::Instrumentation::Rack::Instrumentation.instance.middleware_args ) end end end end