NEW RELEASE

Web Vitals without vendor lock-in

A free, privacy-first RUM platform for Next.js. Track LCP, INP, CLS from real users on your own infrastructure.

iN SHORT

Track Core Web Vitals from real users, correlate with conversions, own your data

What it does?

Collects Core Web Vitals (LCP, INP, CLS, TTFB, FCP) from real users visiting your Next.js app. Tracks performance per route, correlates metrics with custom business events, and displays everything in a real-time dashboard — all self-hosted on your own infrastructure.

What is the outcome?

Full visibility into how your Next.js app actually performs for real users — not just synthetic Lighthouse scores. You get route-level insights, conversion correlation, and complete data ownership. No monthly fees, no vendor lock-in, no privacy concerns.

Who is it for?

Next.js teams who care about performance but don't want to pay for expensive monitoring tools or send user data to third parties. Ideal for privacy-conscious companies, indie developers, and anyone who wants to own their analytics stack.
KEY FEATURES

What's in the box

1

Lightweight Client SDK (<5kB gzipped)

2

Real-time monitoring dashboard

3

ClickHouse-powered analytics backend

4

Docker-ready deployment setup

5

App Router & Pages Router support

6

MIT license — fully open source

MEET THE AUTHORS

Who’s behind the code

portrait of Karol Chudzik
Karol Chudzik
Frontend Developer
portrait of Kacper Siniło
Kacper Siniło
Software Engineer
portrait of Lev Sylin
Lev Sylin
Full-stack Developer

How it works?

Overview

The Problem with current RUM tools

Real User Monitoring tools exist. Vercel Speed Insights, Sentry, DataDog — they all offer some form of performance tracking. But enterprises consistently hit three barriers:

Cost. Getting real Core Web Vitals data means buying into entire platforms. You don't need another dashboard subscription — you need a feature.

Bad implementation. Tools exist but aren't configured correctly. We've seen this firsthand: CookUnity had unreliable analytics data and bad tooling implementation. Months of data, none of it actionable.

Fragmentation. Backend teams use DataDog. Marketing uses Google Analytics. Frontend uses SpeedCurve. No unified view. No single source of truth connecting real user performance to business outcomes.

Many teams default to Google Analytics for performance data. The problem? GA data is delayed by weeks. You're diagnosing last month's problems, not today's regressions.

How next-cwv-monitor solves it

A lightweight client SDK automatically collects Core Web Vitals from every user session. Data flows to a self-hosted ClickHouse backend optimized for time-series analytics. A real-time dashboard surfaces route-level performance with percentile breakdowns (p50, p75, p90, p95), distribution histograms, and time-series comparisons.

No platform fees. No data leaving your infrastructure. No vendor lock-in.

Architecture overview

The system has three components:

1. Client SDK — A lightweight script that hooks into the web-vitals API. Automatically detects routes in both App Router and Pages Router. Collects LCP, INP, CLS, TTFB, FCP, and FID with zero configuration.

2. Ingestion Layer — Handles 1,000+ events per second without data loss. Batches and streams events to ClickHouse with 90-day default retention.

3. Dashboard — Overview page provides an at-a-glance health check in a single screen. Route detail views show time-series charts, percentile breakdowns, and distribution histograms. Loads in under 2 seconds for typical datasets (100K+ events).

Data flow

User visits your app → SDK collects CWV metrics → Events batched and sent to ingestion endpoint → ClickHouse stores and indexes → Dashboard queries and visualizes in real-time.

Get started

Step 1: Deploy the monitoring stack

Spin up the ClickHouse backend and dashboard using Docker. A single docker-compose up gets you the ingestion layer and monitoring dashboard running on your infrastructure.

Step 2: Install the SDK

Add the lightweight client SDK to your Next.js app. Works with both App Router and Pages Router — automatic route detection means zero configuration for most setups.

Step 3: Start collecting data

Deploy your updated app. Within minutes, real user Core Web Vitals start flowing into your dashboard. Route-level breakdowns, percentile analysis, and regression detection — all from real field data.

Roadmap

  • Custom business event correlation (connect CWV to conversion funnels)
  • Alerting system for performance regressions
  • Multi-project support for teams managing multiple Next.js apps
  • Export API for integrating with existing BI tools
  • Extended retention configuration and data archival

Outcome

Stop paying platform fees to understand your own application's performance. next-cwv-monitor gives you the same real user monitoring capabilities as enterprise tools — self-hosted, open source, and fully under your control. Track regressions the moment they happen, not weeks later. Connect performance to the metrics that actually matter to your business.

Built by the team that delivered 70% LCP improvements for CookUnity, monitored 150M+ monthly visits across Iberion's portals, and maintained 18+ months of zero performance regressions for revenue-critical applications.

OTHER SOLUTIONS

More open-source tools from our production work

MDCMS

An enterprise headless CMS built for AI-native content lifecycle management. Database-backed and markdown-first.

Atlas

An AI toolkit for shipping production software as a governed system. Three pillars, one methodology, any infrastructure you can defend.

next-enterprise

An enterprise-grade Next.js boilerplate with Tailwind CSS, TypeScript, testing tools, and CI/CD — ready to deploy in minutes.

WHY BLAZITY

Why choose Blazity as your partner?

icon certificate

Certified Experts

Vercel Gold Partner – one of 11 worldwide. Certified on the same AI Cloud stack we build with you.
icon ai code

AI-Native Delivery

We put our AI engineering tools inside your development – with governance, speed & quality gates.
icon agreement

Trust Before Engagement

Test our OSS libraries, check our partners, or talk to our clients before you commit.
icon ownership

We Own The Outcome

Engineers who think like owners. Proactive, accountable, and quality-obsessed.
CONTACT US

Start with the problem. We'll get to the architecture.

Describe your project and an architect will get back with a straight take on what's worth doing and where to start. 12-hour response time.

TRUSTED BY
“Not sure if it's an AI agent problem, a workflow problem, or an architecture problem? We'll figure it out in one call.”
The Controller of your personal data is Blazity Sp. z o.o. with its registered office at Warsaw, Poland, who processes your personal data for marketing purposes. You have the right to data access, rectification, erasure, restriction and portability, object to processing and to lodge a complaint with a supervisory authority. For detailed information, please refer to the Privacy Policy.
*Required fields.
Thank you.
Your submission has been received.
Oops! Something went wrong while submitting the form.