You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
window.NREUM.init.proxy={}// Proxy won't work for experiments
7
-
window.NREUM.init.session_replay.enabled=false// disabled for now to not double wrap the page which can cause extra processing burden
8
-
window.NREUM.init.session_trace.enabled=false// disabled for now to not double wrap the page which can cause extra processing burden
7
+
window.NREUM.init.session_replay.enabled=true// feature is enabled, but the app settings will have sampling at 0. We can proactively enable SR for certain test cases through app settings
8
+
window.NREUM.init.session_trace.enabled=true// feature is enabled, but the app settings will have sampling at 0. We can proactively enable SR for certain test cases through app settings
window.NREUM.init.session_replay.enabled=false// disabled for now to not double wrap the page which can cause extra processing burden
9
-
window.NREUM.init.session_trace.enabled=false// disabled for now to not double wrap the page which can cause extra processing burden
8
+
window.NREUM.init.session_replay.enabled=true// feature is enabled, but the app settings will have sampling at 0. We can proactively enable SR for certain test cases through app settings
9
+
window.NREUM.init.session_trace.enabled=true// feature is enabled, but the app settings will have sampling at 0. We can proactively enable SR for certain test cases through app settings
* Prevent early harvests when in retry period ([#1548](https://github.com/newrelic/newrelic-browser-agent/issues/1548)) ([5ce9e70](https://github.com/newrelic/newrelic-browser-agent/commit/5ce9e705c2d8e55d4f3f93bd704ad78707aa3c84))
12
+
* remove newrelic meta attribute ([#1550](https://github.com/newrelic/newrelic-browser-agent/issues/1550)) ([f165b3e](https://github.com/newrelic/newrelic-browser-agent/commit/f165b3e877fc4fc4c8b2b77c942b791a25d58705))
13
+
14
+
15
+
### Bug Fixes
16
+
17
+
* Fix exceptions for null bodies arising from empty harvests ([#1553](https://github.com/newrelic/newrelic-browser-agent/issues/1553)) ([b763d03](https://github.com/newrelic/newrelic-browser-agent/commit/b763d03215f043e5be555e2dfe2fba85351d672f))
> This loader strategy is slated to be deprecated and eventually removed in a future product release. For better memory usage, build size impacts, entity management and relationships -- a new strategy focused around using a single centralized browser agent instance is actively being worked on. Reach out by email to [email protected] for more information or if you would like to participate in a limited preview when the feature is ready for early adoption.
250
+
248
251
The examples above use the `Agent` class at their core, which is ideal for most cases as it will automatically detect page-level events across your web application.
249
252
250
253
Using the `MicroAgent` class, it is possible to skip the "auto" instrumentation phases of the other loader types, and provide a *very small* agent designed for capturing data in a controlled manner via the API interfaces. The `MicroAgent` captures a distinct `PageView` event when instantiated, and additional `PageAction` and `JavaScriptError` events may be captured by calling the `noticeError` and `addPageAction` methods.
@@ -142,9 +144,10 @@ export class Aggregate extends AggregateBase {
142
144
* Evaluate entitlements and sampling before starting feature mechanics, importing and configuring recording library, and setting storage state
143
145
* @param {boolean} srMode - the true/false state of the "sr" flag (aka. entitlements) from RUM response
144
146
* @param {boolean} ignoreSession - whether to force the method to ignore the session state and use just the sample flags
147
+
* @param {TRIGGERS} [trigger=TRIGGERS.INITIALIZE] - the trigger that initiated the recording. Usually TRIGGERS.INITIALIZE, but could be TRIGGERS.API since in certain cases that trigger calls this method
0 commit comments