Sha256: 3ae4837f94f8ba604efecb37ebe7f2d671963bef477542a800df35fac0e764ae
Contents?: true
Size: 734 Bytes
Versions: 13
Compression:
Stored size: 734 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 main_loop.racecar event module Consume include Racecar::Event EVENT_NAME = 'main_loop.racecar' 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
13 entries across 13 versions & 1 rubygems