What shipped? Vercel now supports custom metrics in Observability, letting you emit application-level measurements directly from your Functions.
What changed? A new metric() function in @vercel/functions lets you record any value with arbitrary attributes — request latency, database query time, business events, whatever matters to your app:
import { metric } from "@vercel/functions";
metric("database.query_ms", 120, {
table: "my-table",
db: "my-database"
});
Once emitted, custom metrics flow directly into Vercel's existing Observability surface: the Query builder for ad-hoc slicing, Notebooks for dashboards, and the vc metrics CLI command. Vercel automatically tags each metric with its source deployment and function region. Available on Pro and Enterprise with Observability Plus.
Why does a builder care? This closes a long-standing gap — you no longer need a separate monitoring stack (Datadog, Grafana, self-hosted Prometheus) just to correlate business-specific signals with infrastructure data. One import, one platform, no glue code.