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 JavaScriptError
Here's an example of JSON resulting from running this query, which includes JavaScriptError
attributes.
"event": { "deviceType": "Desktop", "firstErrorInSession": true, "releaseIds": "{\"jQuery\":\"v3.1.1\",\"multiverse\":\"98e7ab6\"}", "appName": "Book Staging Multiverse", "errorClass": "Error", "errorMessage": "Script error message", "requestUri": "/synthetic-multiverse/", "userAgentName": "Chrome", "transactionName": "Unnamed Transaction", "userAgentVersion": "44", "appId": 950582, "userAgentOS": "Linux", "timestamp": 1502262005, "browserInteractionID": , "parentEventId": }
View sample SPA data
To run a NRQL query of your Browser SPA data, use the BrowserInteraction
or AjaxRequest
events. For example:
SELECT * FROM BrowserInteraction
Here are some examples of NRQL queries you can make of your SPA data. To see all Browser attributes, see Browser default attributes.
For more help
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's and and documentation.