Sha256: 8d17ca4250cc30210d1cf8c51be2ad7f49e885ba829896f0867f5b1fdda57dcc
Contents?: true
Size: 876 Bytes
Versions: 14
Compression:
Stored size: 876 Bytes
Contents
# frozen_string_literal: true 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' 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
14 entries across 14 versions & 1 rubygems