vendor/bundle/ruby/2.0.0/gems/newrelic_rpm-3.11.2.286/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 handle_serialization_error(method, e)
        NewRelic::Agent.increment_metric("Supportability/serialization_failure")
        NewRelic::Agent.increment_metric("Supportability/serialization_failure/#{method}")
        msg = "Failed to serialize #{method} data using #{@marshaller.class.to_s}: #{e.inspect}"
        error = SerializationError.new(msg)
        error.set_backtrace(e.backtrace)
        raise error
      end
def handle_serialization_error ( method , e ) NewRelic :: Agent . increment_metric ( "Supportability/serialization_failure" ) NewRelic :: Agent . increment_metric ( "Supportability/serialization_failure/#{method}" ) msg = "Failed to serialize #{method} data using #{@marshaller.class.to_s}: #{e.inspect}" error = SerializationError . new ( msg ) error . set_backtrace ( e . backtrace ) raise error 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
e