Class: NewRelic::Agent::Transaction::ExternalRequestSegment
- Inherits:
-
Object
- Object
- NewRelic::Agent::Transaction::ExternalRequestSegment
- Defined in:
- lib/infinite_tracing/agent_integrations/external_request_segment.rb
Instance Method Summary collapse
Instance Method Details
#record_span_event ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/infinite_tracing/agent_integrations/external_request_segment.rb', line 9 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 |