← knowledge.oriz.in

Perf monitoring — Vercel Speed Insights as RUM

decision decisionsarchitectureperfrumweb-vitalsvercel

Perf monitoring — Vercel Speed Insights as RUM

Decision

Every family site ships Vercel Speed Insights as the Real-User Monitoring (RUM) layer for Web Vitals. The client script (@vercel/speed-insights) loads from @chirag127/oriz-kit behind a per-site env-var toggle (ENABLE_SPEED_INSIGHTS=true|false). Vercel hosting is not required — the script works on Cloudflare Pages (the family's primary host).

This pairs with two existing perf signals:

Together = full perf picture.

Why

Implications

Architecture

Quota strategy (never-hit-quotas)

Three perf layers, each in its own tool

Layer Tool Why this tool here
Real-user Web Vitals (RUM) Speed Insights Free RUM with no Vercel hosting requirement
Server-side / edge Cloudflare Web Analytics Already in use; free unlimited
API + Worker traces Sentry Performance Already in use; same dashboard as errors
Lab perf in PR Lighthouse CI Already in use; perf budget per PR

What we don't do

Cross-refs