Skip to content

New Relic

New Relic is a comprehensive observability platform that offers monitoring and analytics solutions for various aspects of software development and deployment, including browser monitoring.

Browser monitoring provided by New Relic allows developers to gain insights into the performance and behavior of their applications from the end-user perspective. This feature is particularly useful for identifying and resolving issues that affect the user experience.

Set up your Application ID

Contact your SRE to create an application ID for your application. The application ID is a unique identifier that allows New Relic to monitor your application.

Include the New Relic Browser Agent in your Application

  1. Download the new relic browser agent from here and save it to your project's public folder.

  2. Replace the following lines with the configuration provided by your SRE.

javascript

;NREUM.loader_config={accountID:"1635994",trustKey:"1635994",agentID:"1103305394",licenseKey:"aa823518a6",applicationID:"1103305394"};
;NREUM.info={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",licenseKey:"aa823518a6",applicationID:"1103305394",sa:1};
  1. Include the new relic browser agent in your application by adding the following script tag to the head of your HTML file:
javascript
<script type="text/javascript" hid="newRelic" src="/new-relic.js" defer ></script>