Sha256: e7a0d27f0e483e23bae58bf75842f2ab91319ed6c1993a10ac953dc88e3789c7
Contents?: true
Size: 787 Bytes
Versions: 3
Compression:
Stored size: 787 Bytes
Contents
require 'ddtrace/contrib/patcher' require 'ddtrace/ext/app_types' module Datadog module Contrib module Qless # Patcher enables patching of 'qless' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch require_relative 'qless_job' require_relative 'tracer_cleaner' # Instrument all Qless Workers # These are executed in inverse order of listing here ::Qless::Workers::BaseWorker.include(QlessJob) ::Qless::Workers::BaseWorker.include(TracerCleaner) end def get_option(option) Datadog.configuration[:qless].get_option(option) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-0.51.1 | lib/ddtrace/contrib/qless/patcher.rb |
ddtrace-0.51.0 | lib/ddtrace/contrib/qless/patcher.rb |
ddtrace-0.50.0 | lib/ddtrace/contrib/qless/patcher.rb |