Module: Datadog::Tracing::Contrib::Racecar::Events::Message
- Defined in:
- lib/datadog/tracing/contrib/racecar/events/message.rb
Overview
Defines instrumentation for process_message.racecar event
Constant Summary collapse
- EVENT_NAME =
'process_message.racecar'.freeze
Class Method Summary collapse
Methods included from Datadog::Tracing::Contrib::Racecar::Event
Class Method Details
.event_name ⇒ Object
17 18 19 |
# File 'lib/datadog/tracing/contrib/racecar/events/message.rb', line 17 def event_name self::EVENT_NAME end |
.span_name ⇒ Object
21 22 23 |
# File 'lib/datadog/tracing/contrib/racecar/events/message.rb', line 21 def span_name Ext::SPAN_MESSAGE end |
.span_options ⇒ Object
25 26 27 28 29 30 |
# File 'lib/datadog/tracing/contrib/racecar/events/message.rb', line 25 def super.merge( tags: { Tracing::Metadata::Ext::TAG_OPERATION => Ext::TAG_OPERATION_MESSAGE, Tracing::Metadata::Ext::TAG_KIND => Tracing::Metadata::Ext::SpanKind::TAG_CONSUMER } ) end |