Sha256: 384a96aa22c5da741f02d33c069503d01a8407335c588a807e151c3106ac8641

Contents?: true

Size: 927 Bytes

Versions: 24

Compression:

Stored size: 927 Bytes

Contents

require_relative '../../ext'
require_relative '../../event'
require_relative '../../consumer_event'
require_relative '../../consumer_group_event'

module Datadog
  module Tracing
    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

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ddtrace-1.23.3 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.23.2 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.23.1 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.22.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.21.1 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.21.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.20.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.19.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.18.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.17.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.16.2 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.16.1 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.16.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.15.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.14.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.13.1 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.13.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.12.1 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.12.0 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb
ddtrace-1.11.1 lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb