Sha256: 02c8cc9a5987883510baaaf0c45b44391b27463c9a0afeb2c3957e8d5366d1bc
Contents?: true
Size: 594 Bytes
Versions: 34
Compression:
Stored size: 594 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 ExternalRequestSegment 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_external_request_segment(self) } end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems