Sha256: 04ac083bea788140ed4e2caee49170b2bf4b031db6abc05540a9400f7e208a20
Contents?: true
Size: 592 Bytes
Versions: 5
Compression:
Stored size: 592 Bytes
Contents
# typed: false require 'ddtrace/contrib/patcher' require 'ddtrace/ext/app_types' module Datadog module Contrib module DelayedJob # Patcher enables patching of 'delayed_job' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch require 'ddtrace/contrib/delayed_job/plugin' add_instrumentation(::Delayed::Worker) end def add_instrumentation(klass) klass.plugins << Plugin end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems