require 'ddtrace/contrib/integration' require 'ddtrace/contrib/delayed_job/configuration/settings' require 'ddtrace/contrib/delayed_job/patcher' module Datadog module Contrib module DelayedJob # Description of DelayedJob integration class Integration include Contrib::Integration register_as :delayed_job def self.version Gem.loaded_specs['delayed_job'] && Gem.loaded_specs['delayed_job'].version end def self.present? super && defined?(::Delayed) end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end