RousselTMLEARNING

TP · Grafana Faro: front-end observability and RUM

Final Lab: User experience dashboard and alert

What you will learn in this TP
  • Build a RUM dashboard
  • Define an experience SLO
  • Alert on errors
Mode :

All steps and instructions are shown. Recommended for this lab: semi-guided

Introduction #

Context. Management wants a single user experience indicator, and the front-end team wants to be notified when a deployment breaks the site.

Prerequisites: Labs 1 and 2 completed  ·  Estimated time: 45 min

Steering the user experience.

Setup #

Guided steps, with their solutions.

  1. 1. LCP p75 panel

    Why? The 75th percentile is the Core Web Vitals reference.

    Create a Time series panel of LCP p75 by version.
  2. 2. Error panels

    Why? Errors are the leading cause of abandoned journeys.

    Add a Stat panel (exceptions over 1 h) and a table of the most frequent error messages.
  3. 3. Experience SLO

    Why? A numeric target makes the indicator actionable.

    Add a panel that computes the share of LCP measurements under 2.5 s over 24 h (target: 75%).
  4. 4. Alert on errors

    Why? After a deployment, a sudden rise in errors should notify the team within minutes.

    Create a Grafana alert rule: more than 20 exceptions in 10 min, for 5 min, with the version in the message.
  5. 5. Test the alert

    Why? An untested alert is an alert that does not work.

    Click “Trigger an error” about thirty times and check that the alert switches to firing.

Validate your work

Check that each goal above is reached and that you get the result described in the introduction.

Difficulty level : ●●●○○ (3/5)

My progress

  • ⏱ Estimated time : ≈ 45 min

Sign in to track your progress and take notes. Sign in

⭐ Rate this lesson

5.0 initial rating from the teaching team

Sign in to rate this lesson →

💬 Questions about this lesson

No questions yet: be the first to ask for help or share your configuration.

Ask a question about this lesson →

Course Glossary

Core Web Vitals

Set of three metrics defined by Google to measure the real experience of a web page: loading (LCP (Largest Contentful Paint)), responsiveness (INP (In...

LCP (Largest Contentful Paint)

Time until the largest visible element of the page (image, video or text block) is rendered: it shows when the main content appears. Loading metric of...

INP (Interaction to Next Paint)

Latency of interactions (click, tap, key press) observed over the whole visit: the delay between the user's action and the next paint. The reported va...

CLS (Cumulative Layout Shift)

Measure of visual stability: the sum of unexpected layout shifts (a button moving just as you click, text pushed down by an ad). Unitless, computed ov...

FCP (First Contentful Paint)

Time until the first content (text, image, SVG) is rendered: the moment the user sees the page start loading. It is not a Core Web Vital, but it helps...

TTFB (Time to First Byte)

Time between the start of navigation and the arrival of the first byte of the response: it adds up redirects, DNS, TCP/TLS connection and server proce...

FID (First Input Delay)

Former responsiveness metric of the Core Web Vitals: the delay before the browser starts handling the first interaction (good ≤ 100 ms). It ignored la...

TBT (Total Blocking Time)

Lab metric (Lighthouse): the sum, between FCP (First Contentful Paint) and the end of loading, of the blocking part of each long task (over 50 ms) on ...

CrUX (Chrome UX Report)

Google's public dataset aggregating the Core Web Vitals measured from real Chrome users (at the 75th percentile, per origin and URL, over a rolling 28...

Lighthouse

Google's free audit tool, built into Chrome DevTools and PageSpeed Insights: it loads the page in a simulated environment and scores performance, acce...

Apdex

Application Performance Index: a satisfaction score between 0 and 1 based on a time threshold T. Requests under T are “satisfied”, between T and 4T “t...

Recommended Articles

Using Faro data: queries, dashboards, alerts and GDPR

Query Faro data in Loki (Web Vitals, errors, events), build dashboards and alerts, and comply wit...

Front-end observability best practices with Faro

Checklist for useful, respectful RUM: SDK configuration, versions, source maps, correlation with ...

Real User Monitoring (RUM) and Core Web Vitals: measuring what users experience

Why observe the front end, what RUM measures, Core Web Vitals (LCP, INP, CLS) and their threshold...

Case study: this site's minimal RUM, cookie-free, exposed to Prometheus

How this site measures its Core Web Vitals with about forty lines of JavaScript, an anonymous bea...

RUM and Synthetic Monitoring with Datadog: synthetic transaction monitoring and user experience

Measure user experience with Datadog: browser and mobile RUM, Core Web Vitals, Session Replay, li...

Analyzing user experience in Dynatrace: sessions, traces, analysis and USQL

Use digital experience (DEM) data: Apdex and Core Web Vitals, user sessions, service flows, distr...

Apdex vs Core Web Vitals

Discover the differences between Apdex and Core Web Vitals, two essential performance indicators ...

Digital experience: Browser, mobile and Synthetics

Measuring what users experience with New Relic: browser agent (page load, Core Web Vitals, AJAX, ...

Faro: JavaScript errors, logs, business events and sessions

Use the Faro API: automatic error capture, manual error reporting, logs, business events and meas...

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!