vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.4.245/lib/new_relic/agent/new_relic_service.rb
# The path on the server that we should post our data to
The path on the server that we should post our data to
The path on the server that we should post our data to
def remote_method_uri(method, format)
        params = {'run_id' => @agent_id, 'marshal_format' => format}
        uri = "/agent_listener/#{PROTOCOL_VERSION}/#{@license_key}/#{method}"
        uri << '?' + params.map do |k,v|
          next unless v
          "#{k}=#{v}"
        end.compact.join('&')
        uri
      end
def remote_method_uri ( method , format ) params = { 'run_id' => @agent_id , 'marshal_format' => format } uri = "/agent_listener/#{PROTOCOL_VERSION}/#{@license_key}/#{method}" uri << '?' + params . map do | k , v | next unless v "#{k}=#{v}" end . compact . join ( '&' ) uri end
The path on the server that we should post our data to
The path on the server that we should post our data to
method
format