Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Show all GET/POST/PUT/DELETE params on new relic


#1

Good Afternoon,

Is possible to get all parameters on request with 400/500 result and show on errors analytics?

Best regards,
Leandro Dasler


#2

Hi, @leandrodasler: If you set the capture_params configuration setting to true, request parameters will be displayed in transaction and error traces.


#3

Hi @philweber How are you?

Thanks for the fast reply. This works perfectly on GETs APIs, is possible to get POST/PUT/DELETE params?

Best regards,
Leandro Dasler.


#4

Hmm, it appears that you must use custom attributes to record request parameters for non-GET requests. For example:

app.post('/route', function(req, res) {
    ...
    newrelic.addCustomParameter({ "request.body": req.body });
    res.send(body);
});