Sha256: e1a12bcb47b3b6280b875b10cc32880361c5d8e9218d23f60e506195398eea4c
Contents?: true
Size: 634 Bytes
Versions: 26
Compression:
Stored size: 634 Bytes
Contents
require 'ddtrace/contrib/patcher' require 'ddtrace/ext/app_types' require 'ddtrace/contrib/sidekiq/ext' module Datadog 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' get_option(:workers).each { |worker| worker.extend(ResqueJob) } end def get_option(option) Datadog.configuration[:resque].get_option(option) end end end end end
Version data entries
26 entries across 26 versions & 2 rubygems