Dicionário de dados da New Relic

Este dicionário de dados define alguns dos nossos dados relatados por padrão armazenados no NRDB e que podem ser consultados usando NRQL. Isso inclui eventos como Transaction, MobileRequest e BrowserInteraction, além dos nossos tipos de dados de métrica, log e span. Essas definições também estão disponíveis por meio da nossa interface do criador de consulta, passando o cursor do mouse sobre tipos de dados aplicáveis e nomes de atributos.

Este dicionário não contém:

  • Dados de nossas integrações de infraestrutura (para tal, consulte a documentação da integração específica)
  • Dados personalizados
  • Atributos detalhados específicos da integração para dados de métricas

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.