New Relic data dictionary

This data dictionary defines some of our default-reported data stored in NRDB and queryable via NRQL. This includes events like Transaction, MobileRequest, and BrowserInteraction, and our Metric, Log, and Span data types. These definitions are also available from our query builder UI by mousing over applicable data type and attribute names.

This dictionary doesn't contain:

  • Data from our infrastructure integrations (for that, see docs for a specific integration)
  • Custom data
  • Detailed integration-specific attributes for Metric data

NrUsage

Data source:

This event records usage every hour and is used to see usage reported per product.

Attribute nameDefinitionData types
aggregationFunction

Used in conjunction with “type” to determine whether usage is aggregated based on sum (sum all usage per hour) or max (take max usage per hour).

appId
ID

The unique numeric identifier assigned by New Relic for the service/app that generated the transaction.

consumingAccountId
ID

ID of the New Relic account that's directly responsible for the stored data, as determined from the license key.

consumingAccountName

Name of the New Relic account directly responsible for the stored data, as determined from the license key.

durationMs
milliseconds (ms)

The aggregation window (for example, 1 hour or 1 day).

masterAccountId
ID

The ID of the parent account (also known as the master account) that's either responsible for stored events or that is the parent of the consuming account.

When a parent account is the consuming account, masterAccountId is the consumingAccountId. This attribute is present even for accounts that don't have a parent account. This is to ensure continued reporting if the account is later made a parent account.

masterAccountName

Name of the parent account (also known as the master account) that's either responsible for stored events, or that is the parent of the consuming account.

When a parent account is the consuming account, masterAccountName is the same as consumingAccountName. This attribute is present even for accounts that don't have a parent account. This is to ensure continued reporting if the account is later made a parent account.

metric
enum

Consolidates multiple categories of usage into a single metric. Helpful when faceting by productLine.

processedTime

When the event was processed by the usage pipeline.

productLine

The New Relic product the usage data is from. Use this attribute to identify / filter for product specific usage data.

subAccountId
ID

ID of the child account (also known as the sub-account) responsible for the stored event. When present, subAccountId is the same as consumingAccountId.

This attribute is only present if the consuming account is a child account (not a parent account).

subAccountName

Name of the child account (also known as the sub-account) responsible for stored events. When present, this is the same as consumingAccountName.

This attribute is only present if the consuming account is a child account (not a parent account).

timestamp

UNIX timestamp (seconds since epoch) of the day and time when event generation was initiated.

type

Used with “aggregationFunction” to determine whether aggregation is based on count (sum all usage per hour) or gauge (take max usage per hour).

usage

The amount of usage. The unit varies, depending on the metric field.