Dispatch
Vercel Observability accepts custom metrics from function code via a metric() call
Vercel Functions can now emit arbitrary numeric metrics using metric() from @vercel/functions, for example metric("database.query_ms", 120, { table: "my-table", db: "my-database" }), with attributes usable for filtering and grouping. They flow into the query builder, notebooks for dashboards, and the vc metrics CLI command alongside built-in observability data. Billed as observability events, available on Pro and Enterprise with Observability Plus.
↳ Follow the thread