Sha256: 564805dfca456a3ded6aa4f3902c040189f9c54347f84ca04752d30887516146
Contents?: true
Size: 602 Bytes
Versions: 8
Compression:
Stored size: 602 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 DatastoreSegment 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.new { SpanEventPrimitive.for_datastore_segment self } end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems