Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added bam.nr-data.net to connect-src exception for NewRelic #1726

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

jimleroyer
Copy link
Member

@jimleroyer jimleroyer commented Nov 16, 2023

Summary | Résumé

NewRelic needs to be listed in the list of allowed domain of connect-src to push through following API its monitoring metrics:

ping,
fetch(),
XMLHttpRequest,
WebSocket,
EventSource, and
Navigator.sendBeacon().

NewRelic explanation on bam.nr-data.net

So what is bam.nr-data.net?

Here’s the short explanation: The Browser application monitoring agent transmits data to New Relic’s data collection servers via the domain bam.nr-data.net. Of course, there’s more to the story than that. If you’re the kind of person that needs to know more, then read on!

How does New Relic Browser monitoring work?

Depending on your subscription level, New Relic Browser can monitor a variety of details about everything from page load timing to time spent in the front end, time spent in the back end, geography, and browser type.

To collect the data, New Relic Browser uses JavaScript elements pasted or injected into your webpages, typically as part of the HEAD of the page, containing configuration details and essential browser environment instrumentation. Once the page finishes loading, an additional script is downloaded from a CDN server. This additional script processes collected data and reports it back to New Relic via bam.nr-data.net so that you can see the data in your New Relic account. You can find more details about how Browser instrumentation works in the documentation.

You should also know that New Relic Browser only collects performance data, as explained in this document. It does not collect any data used or stored by the monitored application unless you explicitly configure it to do so.

Test instructions | Instructions pour tester la modification

We need to push to staging environment to test it (where NewRelic is enabled).

Copy link
Contributor

@whabanks whabanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 After those two tests get updated.

Copy link

@jimleroyer jimleroyer merged commit d06c713 into main Nov 16, 2023
8 of 9 checks passed
@jimleroyer jimleroyer deleted the fix/new-relic-connect-src-exception branch November 16, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants