Sha256: 21e634b06929e4fec19dd3d2273bc6e6fac5644724fffec61c51609b6754cf73
Contents?: true
Size: 374 Bytes
Versions: 3
Compression:
Stored size: 374 Bytes
Contents
require "ddtrace" module Hermes module Tracers class Datadog attr_reader :klass private :klass def initialize(klass) @klass = klass end def handle(message) ::Datadog.tracer.trace(klass.class.name, service: "hermes", span_type: "rabbitmq") do klass.process(message) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hermes-rb-0.6.1 | lib/hermes/tracers/datadog.rb |
hermes-rb-0.6.0 | lib/hermes/tracers/datadog.rb |
hermes-rb-0.5.0 | lib/hermes/tracers/datadog.rb |