Sha256: 214744d7dc32b2461f93d005cfae964b461f535b42cd1a8ccdc422a82c968ea0
Contents?: true
Size: 1002 Bytes
Versions: 4
Compression:
Stored size: 1002 Bytes
Contents
# typed: true require 'datadog/tracing/contrib/kafka/ext' require 'datadog/tracing/contrib/kafka/event' require 'datadog/tracing/contrib/kafka/consumer_event' require 'datadog/tracing/contrib/kafka/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
4 entries across 4 versions & 1 rubygems