Sha256: 6959849246f26e3778501a1f0bc32cf0ac5e4ab7556cf82cbbc932f146cf5e56
Contents?: true
Size: 554 Bytes
Versions: 2
Compression:
Stored size: 554 Bytes
Contents
# frozen_string_literal: true # typed: false require 'datadog/tracing/contrib/que/integration' require 'datadog/tracing/contrib/que/tracer' module Datadog module Tracing module Contrib module Que # Patcher enables patching of 'que' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch ::Que.job_middleware.push(Que::Tracer.new) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-1.0.0 | lib/datadog/tracing/contrib/que/patcher.rb |
ddtrace-1.0.0.beta2 | lib/datadog/tracing/contrib/que/patcher.rb |