module Datadog::Contrib::Shoryuken::Patcher

Patcher enables patching of 'shoryuken' module.

Public Instance Methods

patch() click to toggle source
# File lib/ddtrace/contrib/shoryuken/patcher.rb, line 16
def patch
  ::Shoryuken.server_middleware do |chain|
    chain.add Shoryuken::Tracer
  end
end
target_version() click to toggle source
# File lib/ddtrace/contrib/shoryuken/patcher.rb, line 12
def target_version
  Integration.version
end