.NET agent attributes

Attributes are key-value pairs containing information that determines the properties of an event or transaction. These key-value pairs can be viewed within transaction traces in New Relic APM, traced errors in New Relic APM, transaction events in Insights, and page views in Insights. You can customize exactly which attributes will be sent to each of these destinations.

These attribute settings apply to version 3.6.177.0 or higher of the .NET agent.

.NET agent attribute defaults

The following attributes can be configured in the .NET agent. For more information, see .NET agent configuration: Attributes element.

NewRelic.addCustomParameter API call

Attributes added to an addCustomParameter call on the New Relic API. Defaults:

  • Transaction traces: Enabled
  • Error collector (traced errors): Enabled
  • Transaction events: Disabled
  • Page views (browser monitoring): Disabled
NewRelic.noticeError API call

Attributes added to a notice error call on the New Relic API. Defaults:

  • Transaction traces: Unavailable
  • Error collector (traced errors): Enabled
  • Transaction events: Unavailable
  • Page views (browser monitoring): Unavailable
response.status

The response status code for a web request. Defaults:

  • Transaction traces: Enabled
  • Error collector (traced errors): Enabled
  • Transaction events: Enabled
  • Page views (browser monitoring): Unavailable
request.referer

The optional request header referer. Defaults:

  • Transaction traces: Enabled
  • Error collector (traced errors): Enabled
  • Transaction events: Disabled
  • Page views (browser monitoring): Unavailable
request.parameters.*

Request parameters from the transaction. Defaults:

  • Transaction traces: Disabled
  • Error collector (traced errors): Disabled
  • Transaction events: Disabled
  • Page views (browser monitoring): Unavailable

The capture_params property has been deprecated. However, if set to true, it will enable request parameters for transaction traces and traced errors.

service.request.*

Request parameters from the WCF transaction.

  • Transaction traces: Disabled
  • Error collector (traced errors): Disabled
  • Transaction events: Disabled
  • Page views (browser monitoring): Unavailable
queue_wait_time_ms

Queue time for a web request.

  • Transaction traces: Enabled
  • Error collector (traced errors): Enabled
  • Transaction events: Enabled
  • Page views (browser monitoring): Unavailable
original_url

Original URL from a web request.

  • Transaction traces: Enabled
  • Error collector (traced errors): Enabled
  • Transaction events: Enabled
  • Page views (browser monitoring): Unavailable

Upgrade the .NET agent

When upgrading to .NET agent 3.6.177.0 or higher, upgrade your newrelic.config file. For more information about deprecated properties, see Enabling and disabling attributes.

For more help

Additional documentation resources include:

Join the discussion about .NET 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.