New Relic data dictionary

This data dictionary lists and defines the attributes attached to New Relic events and other data objects (like Metric and Span data).

This dictionary does not contain data reported by Infrastructure integrations. To learn about that data, see the integration documentation.


Displaying 1 - 46 of 46 results found

Types

APM

Transaction

A transaction is a logical unit of work in a software application, such as HTTP requests, SQL queries, background processes, message queue activity, etc. The Transaction event includes information about the app, database calls, the duration of the transaction, and any errors that may occur.

Total attributes in this event: 46

Attribute name Summary
accountId The unique ID of the account associated with the service/application where the Transaction was created.
appId The unique numeric identifier assigned by New Relic for the service/application where the transaction was created.
appName The application name set in the New Relic agent configuration.
databaseCallCount The number of database calls made by this transaction.
databaseDuration The database response time in seconds.
duration The total server-side response time for the transaction, in seconds. Does not include request queueing time.
entityGuid The GUID, assigned by New Relic, for the New Relic-monitored entity (host, application, etc.). This value is stored as a Base64 encoded value. When querying logs, use entity.guids instead, which is a pipe-separated list of GUIDs.
errorMessage (.NET and PHP agents only) This will be server and platform specific. The message contained within an error for the transaction. If an error occurs during a transaction, the error may skew the duration of the event.
errorType This will be server and platform specific. The class or classification of the error. If multiple errors occur, only the first will be shown. If an error occurs during a transaction, the error may skew the duration of the event.
eventLoopTime The time the transaction spent running the event loop. (Python agent only)
eventLoopWait Total time the transaction was running while blocked by an event loop process, subject to the threshold. (Python agent only)
externalCallCount The number of external calls made by this transaction.
externalDuration The total response time of all external (out-of-process) services, in seconds.
gcCumulative (Ruby and Java agents only) The total time spent in garbage collection during this transaction, in seconds.
guid The identifier for the transaction.
host The name of the application host that processed this request.
httpResponseCode The HTTP response code associated with the transaction.
memcacheDuration The memcache response time, in seconds.
name The name of the transaction associated with this data. Ex: Controller/customers/show.
parent.account If a distributed tracing payload is received, this is the account identifier for the transaction's upstream caller.
parent.app If a distributed tracing payload is received, this is the application identifier. APM agents retrieve this value in the connect response under the key primary_application_id.
parent.transportDuration When distributed tracing is enabled and a payload is received, the difference in time between the timestamp given for when the payload was sent and the moment it was processed.
parent.transportType When a distributed tracing payload is received, the method of transport for the payload. Example values: Unknown, HTTP, HTTPS, Kafka, JMS, IronMQ, AMQP, Queue, or Other.
parent.type If a distributed trace payload was received, the parent's data source type. Example values: App, Browser, Mobile.
parentId If a distributed trace payload was received, the guid of this parent transaction.
priority Likelihood this event will be saved.
queueDuration The total time the requester waits for a service to initiate, in seconds.
realAgentId The ID of the New Relic agent that reported the data.
request.headers.accept The types as read from the HTTP Accept request header.
request.headers.contentLength Incoming request size in bytes as read from the Content-Length HTTP request header.
request.headers.contentType Incoming request content-type as read from the HTTP request header Content-Type. Example value: application/octet-stream.
request.headers.host The name from the HTTP host request header.
request.headers.referer The incoming request referer as read from the Referer request header.
request.headers.userAgent The contents of the User-Agent HTTP header.
request.method The HTTP request method used. Example values: POST, GET.
request.uri The incoming request path of the transaction. This does not include the protocol, host, port, or any query parameters. This is hardcoded into the JSON for transaction traces and, formerly, the error blobs.
response.headers.contentLength The outgoing response size in bytes as read from the Content-Length response header.
response.headers.contentType For an HTTP response, the data type of the returned response. Example values: text/html, application/json.
response.status The HTTP response code associated with the transaction.
sampled Indicates whether this event was sampled for inclusion in a distributed trace. Only present when distributed tracing is enabled.
totalTime The sum of all async components' duration, in seconds. An async component is a method or function where there is no instrumented encapsulating method or function.
trace.id The unique ID (a randomly generated string) used to identify a single request as it crosses inter- and intra- process boundaries. This ID allows the linking of spans in a distributed trace. Included when distributed tracing is enabled.
transactionSubType The detailed type of transaction. Example: Controller or Custom.
transactionType The type of the transaction. For example: Web or Background (non-web).
tripId A unique ID (a randomly-generated string) used to identify a single request as it crosses application boundaries. If distributed tracing is enabled, this will be reported as `traceId`.
webDuration The duration of the transaction, equivalent to duration.