module NewRelic::Agent::Instrumentation::Ethon::Multi
Constants
- MULTI_SEGMENT_NAME
Public Instance Methods
Source
# File lib/new_relic/agent/instrumentation/ethon/instrumentation.rb, line 92 def perform_with_tracing(*args) return unless NewRelic::Agent::Tracer.state.is_execution_traced? segment = NewRelic::Agent::Tracer.start_segment(name: MULTI_SEGMENT_NAME) wrap_with_tracing(segment) do easy_handles.each { |easy| prep_easy(easy, segment) } yield end end