module NewRelic::Agent::Instrumentation::Typhoeus::Chain
Public Class Methods
instrument!()
click to toggle source
# File lib/new_relic/agent/instrumentation/typhoeus/chain.rb, line 8 def self.instrument! ::Typhoeus::Hydra.class_eval do include NewRelic::Agent::Instrumentation::Typhoeus def run_with_newrelic(*args) with_tracing { run_without_newrelic(*args) } end alias run_without_newrelic run alias run run_with_newrelic end end
Public Instance Methods
run_with_newrelic(*args)
click to toggle source
# File lib/new_relic/agent/instrumentation/typhoeus/chain.rb, line 12 def run_with_newrelic(*args) with_tracing { run_without_newrelic(*args) } end