Disable Browser monitoring

If you are using New Relic Browser to monitor your application, you can manually disable monitoring for your app or for specific pages. Reasons for turning off Browser monitoring on certain pages include:

  • Some pages may not be relevant for monitoring.
  • You want to monitor only specific pages.
  • You want to remove the Browser script for troubleshooting purposes.

Disable monitoring of specific pages/URLs

To disable Browser on a specific page or URL, follow the procedures based on your deployment method:

Deployed with selected APM agent

If you used the New Relic APM agent to automatically insert your JavaScript snippet, you can disable injection for only those particular pages using the New Relic APM language agent's API or config file. For more information, see the instructions for your agent:

  • Go (currently not applicable)
  • Java
  • .NET
  • Node.js: This agent does not automatically insert JavaScript. To turn off monitoring on certain pages, simply remove the API calls from those pages.
  • PHP
  • Python
  • Ruby
Deployed with copy/paste method

If you used the copy/paste deployment method and want to stop collecting data for a browser app, simply remove the Browser JavaScript snippet from the pages you do not want to monitor.

Disable domain monitoring

To turn off monitoring for specific domains or sub-domains, update your New Relic Browser domain conditions.

Disable Browser agent

If you used the copy/paste deployment method and want to stop collecting data for a browser app, simply remove the Browser JavaScript snippet from the pages you do not want to monitor. If you used the New Relic APM agent to install the Browser agent, you can turn off some of the browser monitoring features individually, or you can disable New Relic Browser entirely.

  1. Go to rpm.newrelic.com/browser > (select a browser app) > Settings > Application settings.
  2. To disable only the Pro account level features, select Lite.
  3. To turn off New Relic Browser completely, select Off.
  4. Select Save application settings.
  5. If applicable, restart your New Relic APM agent.

When browser monitoring is off, the agent will not instrument pages with monitoring scripts.

For more help

Recommendations for learning more: