module NewRelic::Agent::Instrumentation::HTTPX::Chain
Public Class Methods
Source
# File lib/new_relic/agent/instrumentation/httpx/chain.rb, line 8 def self.instrument! ::HTTPX::Session.class_eval do include NewRelic::Agent::Instrumentation::HTTPX alias_method(:send_requests_without_tracing, :send_requests) def send_requests(*requests) send_requests_with_tracing(*requests) { send_requests_without_tracing(*requests) } end end end
Public Instance Methods
Source
# File lib/new_relic/agent/instrumentation/httpx/chain.rb, line 13 def send_requests(*requests) send_requests_with_tracing(*requests) { send_requests_without_tracing(*requests) } end