• English日本語한국어
  • Log inStart now

Node.js agent attributes

This document describes the New Relic Node.js agent attributes, details how to enable or disable attributes, and describes the rules the agent follows to determine which attributes to include or exclude for a destination.

Tip

These attribute settings apply to Node.js agent version 2.7.1 or higher. If you use an older version of the agent, see Update legacy attribute configuration.

Find and use attributes

New Relic attributes are key-value pairs containing information that determines the properties of event and transaction data. Attributes can help you gain greater insight into your application and annotate the data in New Relic.

Attributes (both default and custom) can be found in:

You can customize exactly which attributes will be sent to each of these destinations.

Tip

As of Node.js agent version 6.10.0, when you enable distributed tracing and/or Infinite Tracing, information from Transaction events is applied to the currently available Span of the transaction. Because of this, you may want to apply the attribute settings for Transaction events to Span events or apply them as global attribute settings.

Node.js-specific attributes

In addition to the default APM attributes, the Node.js agent collects attributes from these sources:

Configure attributes

You can customize what types of attributes the Node.js agent sends to each destination. This is most common for security reasons, when you have certain sensitive attributes you do not want reported to New Relic.

Use the following configuration properties along with the attribute rules to enable or disable attributes:

Attribute rules

The Node.js agent follows these rules when determining which attributes to include or exclude for a destination:

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.