• /
  • Log in
  • Free account

Browser agent update: capturing all AJAX requests

October 12, 2021

With agent version 1211, all AJAX requests will be captured as events.

  • Learn more
  • Get started

Today, with the use of the SPA Browser agent, you can query in dashboards AJAX requests that are part of a route change. With the release v1211, we are expanding this ability to make all AJAX requests available to filter and facet on in the dashboard for customers using the Pro or SPA agent. In addition, we will ensure all AJAX requests show up as spans in distributed tracing.

What’s the impact?

With the addition of this feature, if you are using the Pro or SPA version of the agent, you will now see an increase in data consumption. If you want to dial back the amount of data consumed, you have two options:

Option 1 (recommended option): In browser settings on NR1, there is a deny list where you can add URLs where you don’t need AJAX data collection. This will ensure the agent does not collect those AJAX calls. Refer to this documentation for more information.

New AJAX settings

Option 2: Drop data on ingest. Because the AJAX requests are being stored as events, you also have an option to set up rules to drop them on ingest. Refer to this documentation for more information.

Create issueEdit page
Copyright © 2022 New Relic Inc.