Sha256: dfd1fd4dfb105a7f489f8f948a857f40dba02f066c9334dbd8ea61cfdf73b0fb
Contents?: true
Size: 545 Bytes
Versions: 10
Compression:
Stored size: 545 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. # frozen_string_literal: true module NewRelic module Agent class Transaction class Segment def segment_complete record_span_event end def record_span_event tracer = ::NewRelic::Agent.agent.infinite_tracer tracer << Proc.new { SpanEventPrimitive.for_segment self } end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems