lib/new_relic/agent/instrumentation/curb.rb in newrelic_rpm-4.6.0.338 vs lib/new_relic/agent/instrumentation/curb.rb in newrelic_rpm-4.7.0.339

- old
+ new

@@ -124,10 +124,13 @@ # tracing if it's enabled. def hook_pending_request(request) #THREAD_LOCAL_ACCESS wrapped_request, wrapped_response = wrap_request(request) segment = NewRelic::Agent::Transaction.start_external_request_segment( - wrapped_request.type, wrapped_request.uri, wrapped_request.method) + library: wrapped_request.type, + uri: wrapped_request.uri, + procedure: wrapped_request.method + ) segment.add_request_headers wrapped_request unless request._nr_instrumented install_header_callback(request, wrapped_response)