Module: Datadog::Tracing::Contrib::Kafka::Events::ConsumerGroup::JoinGroup

Extended by:
ConsumerEvent, ConsumerGroupEvent
Includes:
Datadog::Tracing::Contrib::Kafka::Event
Defined in:
lib/datadog/tracing/contrib/kafka/events/consumer_group/join_group.rb

Overview

Defines instrumentation for join_group.consumer.kafka event

Constant Summary collapse

EVENT_NAME =
'join_group.consumer.kafka'.freeze

Class Method Summary collapse

Methods included from ConsumerEvent

process

Methods included from ConsumerGroupEvent

process

Methods included from Datadog::Tracing::Contrib::Kafka::Event

included

Class Method Details

.span_nameObject



22
23
24
# File 'lib/datadog/tracing/contrib/kafka/events/consumer_group/join_group.rb', line 22

def span_name
  Ext::SPAN_CONSUMER_JOIN_GROUP
end

.span_optionsObject



26
27
28
# File 'lib/datadog/tracing/contrib/kafka/events/consumer_group/join_group.rb', line 26

def span_options
  super.merge({ tags: { Tracing::Metadata::Ext::TAG_OPERATION => Ext::TAG_OPERATION_CONSUMER_JOIN_GROUP } })
end