class Object
Public Instance Methods
request(params, &block)
Also aliased as: request_without_newrelic_trace
Alias for: request_with_newrelic_trace
request_with_newrelic_trace(params, &block)
click to toggle source
# File lib/newrelic-excon/instrumentation.rb, line 3 def request_with_newrelic_trace(params, &block) metrics = ["External/#{params[:host]}/Excon::Connection/#{params[:method]}", "External/#{params[:host]}/all", "External/all"] if NewRelic::Agent::Transaction.recording_web_transaction? metrics << "External/allWeb" else metrics << "External/allOther" end self.class.trace_execution_scoped metrics do request_without_newrelic_trace(params, &block) end end
Also aliased as: request