vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.4.245/lib/new_relic/agent/new_relic_service.rb
# Specifies the version of the agent's communication protocol with
# the NewRelic hosted site.
Specifies the version of the agent's communication protocol with
the NewRelic hosted site.
Specifies the version of the agent ' s communication protocol with the NewRelic hosted site .
def record_supportability_metrics(method, start_ts, serialize_finish_ts, size)
        serialize_time = serialize_finish_ts && (serialize_finish_ts - start_ts)
        duration = (Time.now - start_ts).to_f
        NewRelic::Agent.record_metric("Supportability/invoke_remote", duration)
        NewRelic::Agent.record_metric("Supportability/invoke_remote/#{method.to_s}", duration)
        if serialize_time
          NewRelic::Agent.record_metric("Supportability/invoke_remote_serialize", serialize_time)
          NewRelic::Agent.record_metric("Supportability/invoke_remote_serialize/#{method.to_s}", serialize_time)
        end
        if size
          NewRelic::Agent.record_metric("Supportability/invoke_remote_size", size)
          NewRelic::Agent.record_metric("Supportability/invoke_remote_size/#{method.to_s}", size)
        end
      end
def record_supportability_metrics ( method , start_ts , serialize_finish_ts , size ) serialize_time = serialize_finish_ts && ( serialize_finish_ts - start_ts ) duration = ( Time . now - start_ts ) . to_f NewRelic :: Agent . record_metric ( "Supportability/invoke_remote" , duration ) NewRelic :: Agent . record_metric ( "Supportability/invoke_remote/#{method.to_s}" , duration ) if serialize_time NewRelic :: Agent . record_metric ( "Supportability/invoke_remote_serialize" , serialize_time ) NewRelic :: Agent . record_metric ( "Supportability/invoke_remote_serialize/#{method.to_s}" , serialize_time ) end if size NewRelic :: Agent . record_metric ( "Supportability/invoke_remote_size" , size ) NewRelic :: Agent . record_metric ( "Supportability/invoke_remote_size/#{method.to_s}" , size ) end end
Specifies the version of the agent's communication protocol with
the NewRelic hosted site.
Specifies the version of the agent ' s communication protocol with the NewRelic hosted site .
method
start_ts
serialize_finish_ts
size