Sha256: 1c790cad57ac8d37ba570695a5147bef7aeb78fd773d70eb0986d26b8d9b286c
Contents?: true
Size: 515 Bytes
Versions: 4
Compression:
Stored size: 515 Bytes
Contents
# typed: false module Datadog module Contrib module ActiveJob # Active Job log injection wrapped around job execution module LogInjection def self.included(base) base.class_eval do around_perform do |_, block| if logger.respond_to?(:tagged) logger.tagged(Datadog.tracer.active_correlation.to_s, &block) else block.call end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems