ELSEIF
Your brief EB
402 stories from 115 feeds 456 clusters Refreshed 10 minutes ago next pull 18:22

OBSERVABILITY Signal 473

Custom metrics are now supported in Vercel Observability

Vercel Functions can now emit user-defined metrics through a metric() helper in the @vercel/functions package, and the values flow into Vercel Observability's query builder, Notebooks, and vc metrics CLI alongside Vercel's built-in telemetry.

WHY IT MATTERS

This gives Vercel-hosted code a first-party channel for application-level signals like database query latency or business events without standing up a separate metrics pipeline. Vercel auto-tags each emit with the source deployment and function region, so the common dimensions are filled in for you. The trade-off is that custom metrics are billed as observability events and gated to Pro and Enterprise plans with Observability Plus.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

The metric() function in @vercel/functions records a named value with optional attributes, e.g. metric("database.query_ms", 120, { table, db }), and attributes are what the query layer slices and groups by.

02

Emitted values appear in Vercel Observability's query builder, Notebooks, and the vc metrics CLI command, sitting alongside the platform's built-in telemetry rather than in a separate system.

03

Vercel automatically adds the source deployment and function region as attributes, and custom metrics are billed as observability events on Pro and Enterprise plans with Observability Plus.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
Vercel Custom metrics are now supported in Vercel Observability Open ↗