Sha256: e4c102c6c1b83ab7172422ee9eda7960468c0540a5eef9a8d826728aab3a81da

Contents?: true

Size: 739 Bytes

Versions: 5

Compression:

Stored size: 739 Bytes

Contents

# typed: true
require 'ddtrace/contrib/kafka/ext'
require 'ddtrace/contrib/kafka/event'
require 'ddtrace/contrib/kafka/consumer_event'
require 'ddtrace/contrib/kafka/consumer_group_event'

module Datadog
  module Contrib
    module Kafka
      module Events
        module ConsumerGroup
          # Defines instrumentation for leave_group.consumer.kafka event
          module LeaveGroup
            include Kafka::Event
            extend Kafka::ConsumerEvent
            extend Kafka::ConsumerGroupEvent

            EVENT_NAME = 'leave_group.consumer.kafka'.freeze

            module_function

            def span_name
              Ext::SPAN_CONSUMER_LEAVE_GROUP
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-0.54.2 lib/ddtrace/contrib/kafka/events/consumer_group/leave_group.rb
ddtrace-0.54.1 lib/ddtrace/contrib/kafka/events/consumer_group/leave_group.rb
ddtrace-0.54.0 lib/ddtrace/contrib/kafka/events/consumer_group/leave_group.rb
ddtrace-0.53.0 lib/ddtrace/contrib/kafka/events/consumer_group/leave_group.rb
ddtrace-0.52.0 lib/ddtrace/contrib/kafka/events/consumer_group/leave_group.rb