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

AjaxRequest

Data source:

AjaxRequest events occur for any Ajax request, including during a BrowserInteraction event. The event attribute tracks geographic and browser info. Use browser app settings to block specific requests.

Attribute nameDefinitionData types
actionText

The text of the HTML element that was clicked when a browser interaction started. Added to BrowserInteraction and any AjaxRequest, JavaScriptError and BrowserTiming events that occurred during that interaction.

appId
ID

The ID of your application, as recorded by New Relic.

appName

The name of the application that handled the request as shown in browser monitoring.

asn

Autonomous System Number: a unique number identifying a group of IP networks that serves the content to the end user.

asnLatitude

The latitude of the geographic center of the postal code where the Autonomous System Network is registered. This is not the end user's latitude.

asnLongitude

The longitude of the geographic center of the postal code where the Autonomous System Network is registered. This is not the end user's longitude.

asnOrganization

The organization that owns the Autonomous System Number. Often an ISP, sometimes a private company or institution.

browserInteractionId
ID

A unique value generated for each browser interaction captured by the New Relic agent.

browserInteractionName

The name of the interaction. This is either the targetGroupedUrl or the custom name set via the API.

city

The city in which the event occurred, such as Portland or Seattle.

countryCode

The country from which the browser initiated the page load. For a list of country codes, see ISO 3166-1 alpha-2.

deviceType

The type of device that loaded the page: mobile, tablet, or desktop.

eventId
ID

A value that you can link to multiple BrowserInteraction events so you can view the interactions that occurred surrounding a specific event. For example, you can see the browser interactions that occurred prior to a JavaScript error.

groupedPageURL

The grouped URL of the view that made the AJAX request. For example: myapp.com/acct/\*/dash.

groupedRequestUrl

The grouped URL of the AJAX request. For example: myapp.com/acct/\*/ajax.

hasReplay

Indicates whether the event is associated with a session replay. If you already have custom dashboards, adding hasReplay = true to queries would allow you to search for a particular session of interest and watch the replay.

hostname

The fully qualified domain name (FQDN) of the request URL.

httpMethod
enum

The HTTP method of the AJAX request. Example: POST.

httpResponseCode
enum

The HTTP response code. Example: 200.

jsDuration
seconds (s)

The total duration, in seconds, spent on JavaScript execution. This attribute is only seen in AjaxRequest data that is tied to BrowserInteraction. This attribute doesn't exist for initial page load events.

pageUrl

The URL of the page that was loaded for the PageView, for example: http://www.newrelic.com. This URL does not include query parameters.

parentEventId
ID

A unique value generated for each interaction with the page. You can use this value to group interactions together.

port
enum

The request port.

regionCode

The specific administrative division within a country where the PageView event occurred. In the United States, regions correspond to state codes, such as WA or NY. Outside the United States, a country's regions correspond to numerical codes.

In the United States, regions correspond to state codes ; for example, WA or NY. Outside the United States, a country's regions correspond to numerical codes .

requestBodySize
bytes (B)

The payload size of the request body, in bytes.

requestUrl

The URL of the AJAX request. For example: myapp.com/acct/1/ajax.

responseBodySize
bytes (B)

The payload size of the response body, in bytes.

session

A unique identifier for a single session. The session is tracked in browser storage using the Web Storage API, subject to each browser's implementation and handling. The session will automatically reset or refresh after a set period of inactivity or a pre-defined duration limit, whichever is less.

sessionTraceId
ID

Allows for linking together end user actions from session traces and querying across browser events. Not all browser events will have this. For example, PageView events complete before the first session trace harvest. Also, initial page loads from BrowserInteraction won't always include this.

timeSinceBrowserInteractionStart
seconds (s)

The time in seconds between the start of the BrowserInteraction and the start of the request.

timestamp

The time (date, hour, minute, second) at which the interaction occurred.

timeToLastCallbackEnd
seconds (s)

The duration, in seconds, from the start of the request (timestamp) to the end of the last callback. This is not just an additive function; the callback time can overlap with the wait time. This attribute is only seen in AjaxRequest data that is tied to BrowserInteraction.

timeToLoadEventStart
seconds (s)

The time, in seconds, from the start of the AJAX request to the start of its load event. This value represents the duration of the AJAX request with single page app (SPA) monitoring.

For more information, see the Mozilla developer documentation about XMLHttpRequest load events.

timeToSettle
seconds (s)

The time, in seconds, from the start of the request to when all resulting callbacks (including callbacks of subsequent AJAX requests) are complete. This attribute is only seen in AjaxRequest data that is tied to BrowserInteraction.

userAgentName

The browser’s name, such as Chrome and Firefox, obtained from the User-Agent header of an HTTP request.

userAgentOS

The browser’s reported operating system, such as Windows or Linux, that it is running on. This is obtained from the User-Agent header of an HTTP request.

userAgentVersion

The browser’s reported software version, which is obtained from the User-Agent header of an HTTP request.