lib/opentelemetry/instrumentation/action_view/railtie.rb in opentelemetry-instrumentation-action_view-0.1.0 vs lib/opentelemetry/instrumentation/action_view/railtie.rb in opentelemetry-instrumentation-action_view-0.1.1

- old
+ new

@@ -14,10 +14,10 @@ ].freeze # This Railtie sets up subscriptions to relevant ActionView notifications class Railtie < ::Rails::Railtie config.before_initialize do - ::ActiveSupport::Notifications.notifier = Fanout.new + ::ActiveSupport::Notifications.notifier = Fanout.new(::ActiveSupport::Notifications.notifier) end config.after_initialize do SUBSCRIPTIONS.each do |subscription_name| subscriber = OpenTelemetry::Instrumentation::ActionView::SpanSubscriber.new(