Sha256: 0f80fda917d106649890037fa53959c06400634ccbc51fc7078a366b0894230b
Contents?: true
Size: 632 Bytes
Versions: 34
Compression:
Stored size: 632 Bytes
Contents
# 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 # don't record a span event if the transaction is ignored return if transaction.ignore? tracer = ::NewRelic::Agent.agent.infinite_tracer tracer << proc { SpanEventPrimitive.for_segment(self) } end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems