Sha256: 6e4315938ca417eb049d87aadd1f6f03ceb3d90665b54100b9812697d8f066db

Contents?: true

Size: 735 Bytes

Versions: 5

Compression:

Stored size: 735 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 sync_group.consumer.kafka event
          module SyncGroup
            include Kafka::Event
            extend Kafka::ConsumerEvent
            extend Kafka::ConsumerGroupEvent

            EVENT_NAME = 'sync_group.consumer.kafka'.freeze

            module_function

            def span_name
              Ext::SPAN_CONSUMER_SYNC_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/sync_group.rb
ddtrace-0.54.1 lib/ddtrace/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-0.54.0 lib/ddtrace/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-0.53.0 lib/ddtrace/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-0.52.0 lib/ddtrace/contrib/kafka/events/consumer_group/sync_group.rb