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

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

Overview

Provides instrumentation for ‘rack`

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject



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

def patch
  # Patch middleware
  require_relative 'middlewares'
end

.target_versionObject



13
14
15
# File 'lib/datadog/tracing/contrib/rack/patcher.rb', line 13

def target_version
  Integration.version
end