Sha256: b31b1f5a26133c0b9efa34fe7571f78317f52738e965f37da851c5844539dc08
Contents?: true
Size: 765 Bytes
Versions: 12
Compression:
Stored size: 765 Bytes
Contents
# typed: false require_relative '../patcher' require_relative 'ext' require_relative 'events' require_relative 'log_injection' module Datadog module Tracing module Contrib module ActiveJob # Patcher enables patching of 'active_job' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch Events.subscribe! inject_log_correlation if Datadog.configuration.tracing.log_injection end def inject_log_correlation ::ActiveSupport.on_load(:active_job) do include LogInjection end end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems