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 or removed with the release of New Relic agent attributes.
Properties
Use the following properties to enable or disable attributes:
Type
Boolean
Default
true
Environ variable
NEW_RELIC_ATTRIBUTES_ENABLED
If true, enables capture of attributes for all destinations.
Type
Boolean
Default
(Dynamic)
Environ variable
NEW_RELIC_TRANSACTION_TRACER_ATTRIBUTES_ENABLED
If true, the agent captures attributes from transaction traces.
Type
Boolean
Default
(Dynamic)
Environ variable
NEW_RELIC_TRANSACTION_EVENTS_ATTRIBUTES_ENABLED
If true, the agent captures attributes from transaction events.
Type
Boolean
Default
(Dynamic)
Environ variable
NEW_RELIC_ERROR_COLLECTOR_ATTRIBUTES_ENABLED
If true, the agent captures attributes from error collection.
Type
Boolean
Default
(Dynamic)
Environ variable
NEW_RELIC_BROWSER_MONITORING_ATTRIBUTES_ENABLED
If true, the agent captures attributes from .
Type
Boolean
Default
(Dynamic)
Environ variable
NEW_RELIC_SPAN_EVENTS_ATTRIBUTES_ENABLED
If true, the agent captures attributes on span events.
Type
Boolean
Default
(Dynamic)
Environ variable
NEW_RELIC_TRANSACTION_SEGMENTS_ATTRIBUTES_ENABLED
If true, the agent captures attributes on transaction segments.
Type
Array
Default
[]
Environ variable
NEW_RELIC_ATTRIBUTES_EXCLUDE
Prefix of attributes to exclude from all destinations. Allows * as wildcard at end.
Type
Array
Default
[]
Environ variable
NEW_RELIC_TRANSACTION_TRACER_ATTRIBUTES_EXCLUDE
Prefix of attributes to exclude from transaction traces. Allows * as wildcard at end.
Type
Array
Default
[]
Environ variable
NEW_RELIC_TRANSACTION_EVENTS_ATTRIBUTES_EXCLUDE
Prefix of attributes to exclude from transaction events. Allows * as wildcard at end.
Type
Array
Default
[]
Environ variable
NEW_RELIC_ERROR_COLLECTOR_ATTRIBUTES_EXCLUDE
Prefix of attributes to exclude from error collection. Allows * as wildcard at end.
New Relic recommends having these URIs reported, as they can contain useful debugging information. If your URIs contain sensitive data you don't want to report, such as email addresses or account IDs, you can disable URI reporting. To disable URI reporting, add any of the above attribute names to the attributes.exclude list.
For example, adding the following key to your configuration file will stop the agent from reporting any of the URI-related properties:
attributes.exclude: uri
Deprecated and removed properties
The following properties have been deprecated or removed. Switch to the new attributes configuration for these properties when upgrading your Ruby agent.