Sha256: a007444fb1a2009b85bec6284afdab4d7335a0fcefcda02c09cbcf9886248e2b
Contents?: true
Size: 859 Bytes
Versions: 22
Compression:
Stored size: 859 Bytes
Contents
# frozen_string_literal: true require_relative '../patcher' module Datadog module Tracing 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.tracing[:qless].get_option(option) end end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-1.11.0 | lib/datadog/tracing/contrib/qless/patcher.rb |
ddtrace-1.11.0.beta1 | lib/datadog/tracing/contrib/qless/patcher.rb |