RousselTMLEARNING

Observability

Digital experience: Browser, mobile and Synthetics

Measuring what users experience with New Relic: browser agent (page load, Core Web Vitals, AJAX, JavaScript errors, session replay), mobile monitoring, synthetic monitors (ping, scripted browser, API, certificates, steps) and private locations.

1. Real users and active checks #

Two complementary views.

Overview #

RUM and Synthetics
ApproachMeasuresLimit
RUM (browser, mobile)the real experience, by country, device, browsernothing without traffic (at night, before a launch)
Syntheticsavailability and critical journeys 24/7, from several regionsa robot does not represent every user

2. Browser #

The JavaScript agent.

Installing #

  • Through the APM agent, which automatically injects the script into served pages (Java, .NET, PHP, Python, Ruby, Node.js); or by pasting the script into the <head>; or via the npm package for single-page apps.
  • Data: PageView, PageViewTiming (Core Web Vitals), BrowserInteraction (SPA navigations), AjaxRequest, JavaScriptError.
  • Session replay replays sessions (with input masking by default) to understand an error or abandonment.

Core Web Vitals #

MetricMeasuresGood if
LCPlargest element rendered≤ 2.5 s
INPinteraction responsiveness≤ 200 ms
CLSvisual stability≤ 0.1
SELECT percentile(largestContentfulPaint, 75) FROM PageViewTiming WHERE timingName = 'largestContentfulPaint' FACET pageUrl SINCE 1 day ago
Watch out : Think GDPR: inform visitors, mask sensitive fields and tune custom attribute collection.

3. Mobile and Synthetics #

Apps and robots.

Mobile #

iOS, Android, Flutter, React Native, .NET MAUI and Unity agents report launches, crashes (with symbolication), HTTP requests and interactions (MobileSession, MobileCrash, MobileRequest). Fixes are prioritised by app version and device.

Synthetic monitors #

TypeUse
Pingsimple URL availability
Simple browserfull page load in Chrome
Scripted browseruser journey (Selenium WebDriver)
Step monitorno-code journey
API testscripted HTTP requests and assertions
Certificate, broken linksTLS expiry, dead links
// Monitor "scripted browser" : checkout journey
const assert = require('assert');
await $webDriver.get('https://boutique.exemple.fr/');
await $webDriver.findElement($selenium.By.linkText('Promotions')).click();
await $webDriver.findElement($selenium.By.css('.produit .ajouter')).click();
const total = await $webDriver.findElement($selenium.By.id('total-panier')).getText();
assert.ok(total.length > 0, 'empty cart');
  • Public locations in several regions, or private locations (job manager deployed on your side) to test internal applications.
  • Script secrets go in secure credentials ($secure.PASSWORD), never in clear.
Best practice : Alert on at least two locations failing at once: a local outage of one location must not wake on-call.

Commands to know #

Commands to know
  • SELECT percentage(count(*), WHERE result = 'SUCCESS') FROM SyntheticCheck FACET monitorName : availability per monitor
  • SELECT count(*) FROM JavaScriptError FACET errorMessage SINCE 1 day ago : frequent JavaScript errors
  • SELECT count(*) FROM MobileCrash FACET appVersion : crashes per version
  • $secure.MOT_DE_PASSE : secure credential in a script

Sources #

Checked in November 2026: New Relic evolves its platform continuously (UI, plans, limits); check the documentation before relying on a detail.

Related articles

New Relic: the observability platform at a glance

Discover New Relic: history, the unified platform and NRDB, MELT data types, entities and golden signals, acc…

New Relic APM: agents, OpenTelemetry and distributed traces

Instrumenting applications with New Relic: language agents, configuration, transactions and Apdex, distribute…

Infrastructure, logs and Kubernetes with New Relic

Monitoring servers, containers and Kubernetes with New Relic: infrastructure agent, on-host integrations, clo…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!