Sha256: d87f683718de13d3661af318b783139050898093fd7a42d429631513167e6ac1

Contents?: true

Size: 706 Bytes

Versions: 35

Compression:

Stored size: 706 Bytes

Contents

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

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
ls-trace-0.1.2 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.32.0 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.31.1 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.31.0 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.30.1 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.30.0 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.29.1 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.26.1 lib/ddtrace/contrib/delayed_job/integration.rb
ls-trace-0.1.1 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.29.0 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.28.0 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.27.0 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.26.0 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.25.1 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.25.0 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.24.0 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.23.3 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.23.2 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.23.1 lib/ddtrace/contrib/delayed_job/integration.rb
ddtrace-0.23.0 lib/ddtrace/contrib/delayed_job/integration.rb