lib/hdo/instrumentation.rb
Method init
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.init
ActiveSupport::Notifications.subscribe 'process_action.action_controller' do |*args|
event = ActiveSupport::Notifications::Event.new(*args)
controller = event.payload[:controller]
action = event.payload[:action]