This describes the properties to enable or disable attributes, and the rules that New Relic uses when determining which attributes to include or exclude for a destination. This also includes a summary of the Ruby agent properties that have been deprecated with the release of New Relic agent attributes.
Use the following properties to enable or disable attributes:
New Relic follows these rules when determining which attributes to include or exclude for a destination.
By default, the Ruby Agent reports Uniform Resource Identifiers (URIs) to New Relic in several different places, including the following destinations:
request.uriattribute of error events
http.urlattribute of span events
urlattribute of slow SQL traces
uriattribute of external request segments
New Relic recommends having these URIs reported, as they can contain useful debugging information. If your URIs contain sensitive data that you don't want reported, URI reporting can be disabled. For example, sensitive data could include email addresses or account IDs. To disable URI reporting, add any of the above attribute names to the
For example, if you adding the following key to your configuration file will stop the agent from reporting any of the URI-related properties:
The following properties have been deprecated. Switch to the new attributes configuration for these properties when upgrading your Ruby agent.
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.