Skip to content

Monitoring guide

How to monitor Vercel

Vercel runs your frontend and functions for you, but it cannot tell you when your users see failures caused by your code, your database or a third-party API.

4 min read9 sectionsUpdated

On this page

Why Vercel needs its own monitoring

On Vercel there are no servers to watch, which moves the risk to functions, the services they call and the edge configuration. A function can time out because the database is slow; an environment variable can be missing in production only; a redirect rule can loop.

Vercel shows deployments, function logs and usage, and offers analytics and speed insights on some plans. Those are views from inside the platform. An independent check from outside tells you whether users can actually load the site, and an observability backend keeps traces and errors with longer history and alerting.

What typically goes wrong

  • Functions hitting their timeout because a database or API they call is slow.
  • Cold starts adding latency to rarely used routes.
  • A production-only environment variable missing after a change.
  • Redirect or rewrite rules looping or sending traffic to the wrong place.
  • Usage limits reached, which can pause or degrade a project.

What to monitor

SignalHow to measure itAlert when
Uptime of the main pages and APIHTTP check every minute from several regions, with a keyword assertionTwo regions fail in a row
Function duration and errorsOpenTelemetry traces exported from the functionsError rate over 1% or p95 near the timeout
Third-party dependenciesSpans for database and API callsDependency latency doubles
Core Web Vitals (LCP, INP, CLS)Real user monitoring script on every pagep75 LCP over 2.5 s or INP over 200 ms for a day
Certificate and domain expirySSL check with each uptime checkUnder 14 days left

Set it up, step by step

  1. Monitor from outside. Uptime checks on the production domain (not the vercel.app preview URL) for the main pages and API routes.
  2. Instrument functions. Use OpenTelemetry (Vercel supports @vercel/otel and standard OTLP export) and send traces to your backend.
  3. Forward logs. Use a log drain so function logs are kept and searchable next to traces.
  4. Watch the front end. Real user monitoring for vitals and JavaScript errors.
  5. Alert on symptoms. Uptime, function error rate and latency close to the timeout.

Route alerts to the people who can act on them (Slack for warnings, a phone call for outages), and put the checks behind a status page so users see what you see.

Vercel specifics

Preview deployments are a gift for monitoring: run a short synthetic check against each preview URL in CI and fail the build if the main flow breaks. Keep production checks on your own domain so DNS and certificate problems are caught too. If you use Next.js, read monitoring a Next.js app.

Frequently asked questions

Does Vercel monitor uptime?

It runs your app, but an independent check from outside is what tells you users can reach it, including DNS and certificate problems.

How do I see function errors over time?

Export traces and logs to an observability backend; built-in log views keep limited history.

Can I check preview deployments?

Yes, run synthetic checks against the preview URL in your CI pipeline.

Check it now, free

  • SaaS monitoring: Monitoring for SaaS products: login and core workflows, API latency per route, SLOs and SLAs for enterprise contracts, on-call and a status page.
  • How to monitor Firebase: How to monitor a Firebase app: Hosting uptime, Cloud Functions errors and latency, Firestore reads and costs, Authentication, Crashlytics and alerting.
  • How to monitor Render: How to monitor apps on Render: web service uptime and health checks, background workers, cron jobs with heartbeats, managed Postgres and Redis, and alerts.
  • WordPress monitoring: uptime, speed and errors: Monitor a WordPress site: uptime with content checks, login and admin, Core Web Vitals, PHP errors, plugin updates, SSL expiry and backups.
  • All features: Every VitalRix product in one place: uptime monitoring, APM, logs, real user monitoring, alerts, on-call, SLOs, dashboards, notebooks and more.
  • What is observability?: Observability explained in plain words: what it means, how logs, metrics and traces fit together, how it differs from monitoring and how to start.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.