From the Grafana Faro part of your Monitoring note.
fetchpriority="high", never lazy-loaded.traceparent to fetch calls to your own APIs (allowed in CORS); OpenTelemetry on the server continues it down to the database; everything lands in Tempo.INP runs from the interaction until the browser paints the next frame: the wait before the handler can run (a busy main thread), the handler itself, and the rendering after it. It reports roughly the worst interaction of the visit, not the first one or an average.
web-vitals library to a Nuxt app, log LCP, INP and CLS to the console with their attribution, and make each one worse on purpose to see it move."LCP is when the biggest image or text block shows up, on a shop usually the product image; good is under 2.5 seconds, and it comes down to a fast server response and a prioritised, well-sized hero image. INP is how fast the page visibly reacts to clicks across the whole visit; good is under 200 milliseconds, and the enemy is long JavaScript tasks, from hydration or third-party scripts. CLS is how much the layout jumps; good is under 0.1, fixed by reserving space for images, ads and banners. All three are measured on real users at the 75th percentile."
"Lighthouse is one simulated load on one device, which is great for catching regressions in CI but says nothing about real phones and networks, and Google ranks on real-user data. So we run a small script like Grafana Faro on a sample of sessions, only after consent, and get Web Vitals, errors and timings from real visits, and with tracing, a slow click can be followed into the backend."
Nothing yet. Notes filed here show up on this page and the section overview.
Metrics, logs and traces
The three kinds of monitoring data and when to use each, the path from a pod to a Grafana dashboard with Alloy, Loki, Mimir and Tempo, structured logs, Prometheus metric types, exposing metrics from Nitro, percentiles, distributed tracing, and what to alert on.
Load testing
Load testing a storefront with k6 — smoke, load, stress, spike and soak tests, realistic journeys and URL mixes, thresholds, and what to watch while the test runs.