Skip to content

Commit

Permalink
Whats-New-10-12-Ajax-Requests
Browse files Browse the repository at this point in the history
  • Loading branch information
daynaslord committed Oct 19, 2021
1 parent 0f19d77 commit 25ad3b4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/content/whats-new/2021/10/What's New - AJAX On by Default.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: 'Browser Agent Update: Capturing All AJAX Requests'
summary: 'With agent version 1211, all AJAX requests will be captured as events.'
releaseDate: '2021-10-12'
learnMoreLink: 'https://docs.newrelic.com/docs/release-notes/new-relic-browser-release-notes/browser-agent-release-notes/browser-agent-v1211/'
getStartedLink: 'https://docs.newrelic.com/docs/browser/single-page-app-monitoring/get-started/introduction-single-page-app-monitoring/'
---
Today, with the use of the [SPA Browser agent](https://docs.newrelic.com/docs/browser/single-page-app-monitoring/get-started/introduction-single-page-app-monitoring/), you can query in dashboards AJAX requests that are part of a route change. With the release [v1211](https://docs.newrelic.com/docs/release-notes/new-relic-browser-release-notes/browser-agent-release-notes/browser-agent-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](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/filter-ajax-request-events/) for more information.

![Browser - AJAX Settings Highlighted.png]("Browser - AJAX Settings Highlighted")

**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](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/filter-ajax-request-events/) for more information.

0 comments on commit 25ad3b4

Please sign in to comment.