Sha256: 55c1bc22862279d05037f5b9b2341bc79059cbe3406dbbeec4b297a0a9213276
Contents?: true
Size: 710 Bytes
Versions: 24
Compression:
Stored size: 710 Bytes
Contents
require_relative '../ext' require_relative '../event' module Datadog module Tracing module Contrib module Racecar module Events # Defines instrumentation for main_loop.racecar event module Consume include Racecar::Event EVENT_NAME = 'main_loop.racecar'.freeze module_function def event_name self::EVENT_NAME end def span_name Ext::SPAN_CONSUME end def span_options super.merge(tags: { Tracing::Metadata::Ext::TAG_OPERATION => Ext::TAG_OPERATION_CONSUME }) end end end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems