lib/opentelemetry/instrumentation/action_view/railtie.rb in opentelemetry-instrumentation-action_view-0.3.0 vs lib/opentelemetry/instrumentation/action_view/railtie.rb in opentelemetry-instrumentation-action_view-0.3.1

- old
+ new

@@ -18,10 +18,15 @@ config.after_initialize do ::OpenTelemetry::Instrumentation::ActiveSupport::Instrumentation.instance.install({}) SUBSCRIPTIONS.each do |subscription_name| config = ActionView::Instrumentation.instance.config - ::OpenTelemetry::Instrumentation::ActiveSupport.subscribe(ActionView::Instrumentation.instance.tracer, subscription_name, config[:notification_payload_transform], config[:disallowed_notification_payload_keys]) + ::OpenTelemetry::Instrumentation::ActiveSupport.subscribe( + ActionView::Instrumentation.instance.tracer, + subscription_name, + config[:notification_payload_transform], + config[:disallowed_notification_payload_keys] + ) end end end end end