Emulating legacy server-side parameter configuration (Node.js)

Problem

You want to emulate the legacy behavior of enabling the Capture attributes or Capture parameters options in the New Relic UI.

Solution

You can emulate this legacy behavior by customizing your Node.js agent configuration file. In this example, the agent collects request parameters and records them to the transaction tracer and error collector destinations. Customize exports.config in your config file as follows:

capture_params : true

For more help

Join the discussion about Node.js monitoring in the New Relic Online Technical Community! The Technical Community is a public platform to discuss and troubleshoot your New Relic toolset.

If you need additional help, get support at support.newrelic.com.