Sha256: f256ebf13ff20b0a02aad220414558aaa852929f0d5e3bc0c7f4b6247f613b33
Contents?: true
Size: 610 Bytes
Versions: 2
Compression:
Stored size: 610 Bytes
Contents
# typed: false require 'datadog/tracing/contrib/patcher' require 'datadog/tracing/contrib/resque/integration' require 'datadog/tracing/contrib/sidekiq/ext' module Datadog module Tracing module Contrib module Resque # Patcher enables patching of 'resque' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch require_relative 'resque_job' ::Resque::Job.prepend(Resque::Job) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-1.0.0 | lib/datadog/tracing/contrib/resque/patcher.rb |
ddtrace-1.0.0.beta2 | lib/datadog/tracing/contrib/resque/patcher.rb |