RousselTMLEARNING

Observabilité

How this site is observed

RousselTM Learning’s real Core Web Vitals, measured with no cookie or personal data.

This site practises what it teaches: observability. Each visit sends a single anonymous beacon with five performance measurements; they are aggregated into histograms in Redis, exposed in Prometheus format on /metrics and viewable in Grafana.

What is measured

No cookie, no stored IP address, no identifier: only the page type (home, course, lesson, article…) and durations. No consent is required for these anonymous measurements.

  • LCP (Largest Contentful Paint)
  • INP (Interaction to Next Paint)
  • CLS (Cumulative Layout Shift)
  • FCP (First Contentful Paint)
  • TTFB (Time To First Byte)

Current state (75th percentile)

PageSamplesLCPINPCLSFCPTTFB
Home304🟠 ≤ 4000 ms🟢 ≤ 100 ms🔴 ≤ 1.00🔴 ≤ 5000 ms🟠 ≤ 1800 ms
Catalogues591🟢 ≤ 1500 ms🟢 ≤ 100 ms🟢 ≤ 0.05🟢 ≤ 1800 ms🟢 ≤ 800 ms
Courses1048🟢 ≤ 2500 ms🟢 ≤ 100 ms🟢 ≤ 0.05🟠 ≤ 3000 ms🟠 ≤ 1800 ms
Lessons3221🟢 ≤ 2500 ms🟢 ≤ 100 ms🟢 ≤ 0.05🟢 ≤ 1800 ms🟠 ≤ 1800 ms
Articles2463🟠 ≤ 4000 ms🟢 ≤ 100 ms🟢 ≤ 0.05🟠 ≤ 3000 ms🟠 ≤ 1800 ms
Other1820🟢 ≤ 1000 ms🟢 ≤ 100 ms🟢 ≤ 0.05🟢 ≤ 1000 ms🟢 ≤ 800 ms

🟢 Good · 🟠 Needs improvement · 🔴 Poor

Architecture

PerformanceObserver (navigateur) → sendBeacon → /rum.php → Redis (histogrammes) → /metrics → Grafana Alloy → Prometheus / Mimir → Grafana.

How to reproduce it

// Grafana Alloy : scraper les métriques du site
prometheus.scrape "rtm" {
  targets      = [{"__address__" = "elearning.rousseltm.fr:443"}]
  scheme       = "https"
  metrics_path = "/metrics"
  forward_to   = [prometheus.remote_write.cloud.receiver]
}

# PromQL : LCP p75 par type de page
histogram_quantile(0.75, sum by (le, page) (rate(rtm_rum_lcp_bucket[1h])))
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!