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



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

def patch
  # Patch middleware
  require_relative 'middlewares'
end

.target_versionObject



11
12
13
# File 'lib/datadog/tracing/contrib/rack/patcher.rb', line 11

def target_version
  Integration.version
end