You use Java agent version 3.16.1 or lower and need to upgrade to the latest version, but you use deprecated configuration options to configure agent attributes.
newrelic.yml, edit the configuration properties you use for compatiblity with the latest versions:
The stanza in the newrelic.yml configuration file called
By default, request parameters are not sent to New Relic. Add
Add each request parameter key to the
By default, message queue parameters are not sent to New Relic. Previously, setting
Previously, you could set
In this example, the Java agent collects request parameters and records them to the transaction tracer and error collector destinations. This emulates enabling the legacy server-side configuration options for
Capture attributes or
To customize the
attributes element in your Java agent configuration file:
attributes.enabled: trueattributes.include: request.parameters.*
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.