Learn about 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 PHP agent properties that have been deprecated with the release of New Relic agent attributes.
Properties
Use the following destination properties to open or close the destination to any attribute collection:
Type
Boolean
Default
True
Turns on or turns off all attributes in all destinations.
Type:
Boolean
Default:
False
Turns on or turns off all attributes for . This is the data that gets attached to page view events. If newrelic.attributes.enabled is false, no attributes will be sent to browser monitoring regardless of how this property is set.
Type:
Boolean
Default:
True
Turns on or turns off all attributes for traced errors. If newrelic.attributes.enabled is false, no attributes will be sent to traced errors regardless of how this property is set.
Type:
Boolean
Default:
True
Turns on or turns off all attributes for transaction events. If newrelic.attributes.enabled is false, no attributes will be sent to transaction events regardless of how this property is set.
Type
Boolean
Default
True
Turns on or off all attributes for transaction traces. If newrelic.attributes.enabled is false, no attributes will be sent to transaction traces regardless of how this property is set.
Type
Boolean
Default
True
Turns on or off all attributes for Span data. If newrelic.attributes.enabled is false, no attributes will be sent to spans regardless of how this property is set.
Use the following attribute/destination specific .include or .exclude properties to add or remove specific attributes in specific destinations:
Type:
Comma-delimited list of strings
Default:
Empty
If attributes are enabled, all attribute keys in this list will be sent to New Relic.
Type:
Comma-delimited list of strings
Default:
Empty
All attribute keys in this list will not be sent to New Relic.
Type:
Comma-delimited list of strings
Default:
Empty
If attributes are enabled for browser_monitoring, all attribute keys in this list will be sent in page view data.
Type:
Comma-delimited list of strings
Default:
Empty
All attribute keys found in this list will not be sent to New Relic in page views.
Type:
Comma-delimited list of strings
Default:
Empty
If attributes are enabled for traced errors, all attribute keys in this list will be sent to New Relic in traced errors.
Type:
Comma-delimited list of strings
Default:
Empty
All attribute keys in this list will not be sent to New Relic in traced errors.
Type:
Comma-delimited list of strings
Default:
Empty
If attributes are enabled for transaction events, all attribute keys in this list will be sent to New Relic in transaction events.
Type:
Comma-delimited list of strings
Default:
Empty
All attribute keys in this list will not be sent to New Relic in transaction events.
Type:
Comma-delimited list of strings
Default:
Empty
If attributes are enabled for transaction traces, all attribute keys in this list will be sent to New Relic in transaction traces.
Type:
Comma-delimited list of strings
Default:
Empty
All attribute keys in this list will not be sent to New Relic in transaction traces.
Type:
Comma-delimited list of strings
Default:
Empty
If attributes are enabled for span events, all attribute keys in this list will be sent to New Relic in span events.
Type:
Comma-delimited list of strings
Default:
Empty
All attribute keys in this list will not be sent to New Relic in span events.
Attribute rules
New Relic follows these rules when determining which attributes to include or exclude for a destination.
The newrelic.attributes.enabled field trumps all other settings. When false, no attributes will be reported to New Relic.
By default, request parameters are not sent to New Relic. Add request.parameters.* to the newrelic.attributes.include list to turn on all request parameters. The newrelic.capture_params property has been deprecated.
Add each request parameter key to the newrelic.attributes.exclude list, delimited by commas. Be sure to prepend the key with request.parameters. The newrelic.ignored_params property has been deprecated.
newrelic.{destination}.capture_attributes
newrelic.{destination}.attributes.enabled
The old newrelic.{destination}.capture_attributes flag would turn off user attribute collection. This has been deprecated. Use newrelic.{destination}.attributes.enabled instead.