Sha256: 3da720955e80acddf7a3b124da6032d19f15c89b7165ab5ee012674e72ad59bb
Contents?: true
Size: 951 Bytes
Versions: 13
Compression:
Stored size: 951 Bytes
Contents
# frozen_string_literal: true 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 join_group.consumer.kafka event module JoinGroup include Kafka::Event extend Kafka::ConsumerEvent extend Kafka::ConsumerGroupEvent EVENT_NAME = 'join_group.consumer.kafka' module_function def span_name Ext::SPAN_CONSUMER_JOIN_GROUP end def span_options super.merge({ tags: { Tracing::Metadata::Ext::TAG_OPERATION => Ext::TAG_OPERATION_CONSUMER_JOIN_GROUP } }) end end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems