This document will explain how you can use NRQL to query and explore your Browser data, including SPA data.
View JavaScript errors
To view JavaScript errors, you'd run a NRQL query of the JavaScriptError event reported by Browser. For example:
SELECT * FROM JavaScriptErrorHere's an example JavaScriptError event record with sample attributes:
{ "agentVersion": "1.322.0", "appId": 1234567, "appName": "Book Staging Multiverse", "asn": "12345", "asnLatitude": 37.3861, "asnLongitude": -122.0839, "asnOrganization": "EXAMPLE-ISP", "browserInteractionId": "abc123def456ghi789", "browserStackHash": 1234567890, "city": "Example City", "countryCode": "US", "deviceType": "Desktop", "domain": "example.com", "entityGuid": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "errorClass": "Error", "errorMessage": "Script error message", "firstErrorInSession": true, "firstOccurrenceTimestamp": 1234567890000, "pageUrl": "https://example.com/example-page", "regionCode": "CA", "releaseIds": "{\"jQuery\":\"v3.1.1\",\"app\":\"1a2b3c4\"}", "requestUri": "/synthetic-multiverse/", "session": "abc123def456ghi789", "sessionTraceId": "abc123def456ghi789", "stackHash": 987654321, "stackTrace": "Error: Script error message.\n at anonymous:1:1", "timestamp": 1234567890, "transactionName": "Unnamed Transaction", "userAgentName": "Chrome", "userAgentOS": "Linux", "userAgentVersion": "44"}View sample SPA data
To run a NRQL query of your Browser SPA data, use the BrowserInteraction or AjaxRequest events. For example:
SELECT * FROM BrowserInteractionHere are some examples of NRQL queries you can make of your SPA data. To see all Browser attributes, see Browser default attributes.