Sha256: 2a34eba0764897cb3e86c2de2b6373ec63fb0439252affa0c8666f772031a106
Contents?: true
Size: 468 Bytes
Versions: 3
Compression:
Stored size: 468 Bytes
Contents
# typed: true module Datadog module Tracing module Contrib module Kafka # Defines basic behaviors for an event for a consumer. module ConsumerEvent def process(span, _event, _id, payload) super span.set_tag(Ext::TAG_GROUP, payload[:group_id]) span.set_tag(Tracing::Metadata::Ext::TAG_KIND, Tracing::Metadata::Ext::SpanKind::TAG_CONSUMER) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems