Module: Datadog::Tracing::Contrib::Kafka::Events::ConsumerGroup::LeaveGroup
- Extended by:
- ConsumerEvent, ConsumerGroupEvent
- Includes:
- Datadog::Tracing::Contrib::Kafka::Event
- Defined in:
- lib/datadog/tracing/contrib/kafka/events/consumer_group/leave_group.rb
Overview
Defines instrumentation for leave_group.consumer.kafka event
Constant Summary collapse
- EVENT_NAME =
'leave_group.consumer.kafka'.freeze
Class Method Summary collapse
Methods included from ConsumerEvent
Methods included from ConsumerGroupEvent
Methods included from Datadog::Tracing::Contrib::Kafka::Event
Class Method Details
.span_name ⇒ Object
22 23 24 |
# File 'lib/datadog/tracing/contrib/kafka/events/consumer_group/leave_group.rb', line 22 def span_name Ext::SPAN_CONSUMER_LEAVE_GROUP end |
.span_options ⇒ Object
26 27 28 |
# File 'lib/datadog/tracing/contrib/kafka/events/consumer_group/leave_group.rb', line 26 def super.merge({ tags: { Tracing::Metadata::Ext::TAG_OPERATION => Ext::TAG_OPERATION_CONSUMER_LEAVE_GROUP } }) end |