Sha256: 1fb526523dd894939db70e81199c02e5d43bfeb7403c32d839bd16fa20ce50f8
Contents?: true
Size: 852 Bytes
Versions: 24
Compression:
Stored size: 852 Bytes
Contents
require_relative '../ext' require_relative '../event' module Datadog module Tracing module Contrib module Racecar module Events # Defines instrumentation for process_batch.racecar event module Batch include Racecar::Event EVENT_NAME = 'process_batch.racecar'.freeze module_function def event_name self::EVENT_NAME end def span_name Ext::SPAN_BATCH end def span_options super.merge( tags: { Tracing::Metadata::Ext::TAG_OPERATION => Ext::TAG_OPERATION_BATCH, Tracing::Metadata::Ext::TAG_KIND => Tracing::Metadata::Ext::SpanKind::TAG_CONSUMER } ) end end end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems