Module: Datadog::Contrib::ActionPack::ActionController::Patcher

Includes:
Patcher
Defined in:
lib/ddtrace/contrib/action_pack/action_controller/patcher.rb

Overview

Patcher for ActionController components

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject



19
20
21
# File 'lib/ddtrace/contrib/action_pack/action_controller/patcher.rb', line 19

def patch
  ::ActionController::Metal.prepend(ActionController::Instrumentation::Metal)
end

.target_versionObject



15
16
17
# File 'lib/ddtrace/contrib/action_pack/action_controller/patcher.rb', line 15

def target_version
  Integration.version
end