Module: Datadog::Contrib::Rack::MiddlewarePatcher

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

Overview

Provides instrumentation for ‘rack`

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject



14
15
16
17
# File 'lib/ddtrace/contrib/rack/patcher.rb', line 14

def patch
  # Patch middleware
  require_relative 'middlewares'
end

.target_versionObject



10
11
12
# File 'lib/ddtrace/contrib/rack/patcher.rb', line 10

def target_version
  Integration.version
end