Sha256: 942e955e64ed48c20af866376613071d505b104e8c012ba8d29458d1ea4cf30f
Contents?: true
Size: 778 Bytes
Versions: 4
Compression:
Stored size: 778 Bytes
Contents
# typed: false require 'datadog/tracing/contrib/racecar/ext' require 'datadog/tracing/contrib/racecar/event' module Datadog module Tracing module Contrib module Racecar module Events # Defines instrumentation for process_message.racecar event module Message include Racecar::Event EVENT_NAME = 'process_message.racecar'.freeze module_function def event_name self::EVENT_NAME end def span_name Ext::SPAN_MESSAGE end def span_options super.merge(tags: { Tracing::Metadata::Ext::TAG_OPERATION => Ext::TAG_OPERATION_MESSAGE }) end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems