Your data. Anywhere you go.

New Relic for iOS or Android

Download on the App Store    Android App on Google play

New Relic Insights App for iOS

Download on the App Store

Learn more

Close icon

Relic Solution: Insights Dashboard for Browser: Part 2 - JS Errors




With the launch of Beta JS Errors, you can now use JavaScriptError event attributes to run NRQL queries and create dashboards to view or share.

With this Level Up post, I will provide quick and easy steps on generating an Insights Dashboard on JS Errors. This dashboard will have a FACET widget where you can link the items in that widget to a pre-filtered dashboard of information relevant to just that facet, or filter the results of your existing dashboard.


How to get started

Create a new dashboard using the Rest API

We will use the API Explorer to create our Dashboard. The parameters needed for this call is an API Key & Dashboard API schema.

Copy the JSErrors Dashboard JSON file here with your Admin API key & paste the json into the Dashboard text area.


Once the parameters are filled in, click Send Request, you should receive a 200 OK response.

View the Dashboard In Insights

You can now view the Dashboard in Insights by clicking on the All dashboards tab on the left of the Insights home page.

Chart Examples

JS Error Trends Compare current JS Trends with last week

Error Class: JS Errors by error type.

App Name Which Browser app has the highest number of JS Errors
Request URI The URI which has the most JS Errors.

More information

Check out our Help Centre for more information on the topics in this post:

Part 1

Dashboard for Pageviews:

Part 3

Part 3 Dashboard for Ajax Requests

Relic Solution: Insights Dashboard for Browser: Part 3 - Ajax Request
Best Practice Guide: Browser