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

Includes:
Patcher
Defined in:
lib/datadog/tracing/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



21
22
23
# File 'lib/datadog/tracing/contrib/action_pack/action_controller/patcher.rb', line 21

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

.target_versionObject



17
18
19
# File 'lib/datadog/tracing/contrib/action_pack/action_controller/patcher.rb', line 17

def target_version
  Integration.version
end