Sha256: 32d0e1e9ab2a9b4dc992191ffb033c944b8fcc2eb9801c9073a7fe3665f70331
Contents?: true
Size: 965 Bytes
Versions: 12
Compression:
Stored size: 965 Bytes
Contents
# typed: true require_relative '../patcher' module Datadog module Tracing module Contrib module Qless # Patcher enables patching of 'qless' module. module Patcher include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003) 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.tracing[:qless].get_option(option) end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems