• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Experimental features in browser monitoring

New Relic Browser features are exposed to customers in a controlled manner to ensure stability and reliability. However, some features are made available before they reach general availability. These are known as experimental features. To access them, you must opt in.

Current experimental features

The following experimental features are available in New Relic Browser:

Important

Experimental features are available only for opt-in on manual copy and paste, or NPM implementations of the agent. These features are subject to change and should be used with caution.

Opt in to use experimental features

Browser Performance - Marks, Measures & Resources

  1. Ensure you are using a version of the New Relic Browser agent compatible with the experimental feature, on a pro or pro+spa equivalent build.
  2. Find the New Relic browser agent code in your webpage HTML or JS application.
  3. In the init configuration object, add the performance feature configuration. Here's an example that enables both marks and measures detection:
    <script type="text/javascript"> ;window.NREUM||(NREUM={});init={, performance: {
    capture_marks: true, // enable to capture browser performance marks (default false)
    capture_measures: true // enable to capture browser performance measures (default false)
    resources: {
    enabled: true, // enable to capture browser peformance resource timings (default false)
    asset_types: [], // Asset types to collect -- an empty array will collect all types (default []). See https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/initiatorType for the list of types.
    first_party_domains: [], // when included, will decorate any resource as a first party resource if matching (default [])
    ignore_newrelic: true // ignore capturing internal agent scripts and harvest calls (default true)
    }
    } }:
  4. Deploy your app.
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.