Module: Datadog::Tracing::Contrib::Racecar::Events::Consume
- Defined in:
- lib/datadog/tracing/contrib/racecar/events/consume.rb
Overview
Defines instrumentation for main_loop.racecar event
Constant Summary collapse
- EVENT_NAME =
'main_loop.racecar'
Class Method Summary collapse
Methods included from Datadog::Tracing::Contrib::Racecar::Event
Class Method Details
.event_name ⇒ Object
19 20 21 |
# File 'lib/datadog/tracing/contrib/racecar/events/consume.rb', line 19 def event_name self::EVENT_NAME end |
.span_name ⇒ Object
23 24 25 |
# File 'lib/datadog/tracing/contrib/racecar/events/consume.rb', line 23 def span_name Ext::SPAN_CONSUME end |
.span_options ⇒ Object
27 28 29 |
# File 'lib/datadog/tracing/contrib/racecar/events/consume.rb', line 27 def super.merge(tags: { Tracing::Metadata::Ext::TAG_OPERATION => Ext::TAG_OPERATION_CONSUME }) end |