Skip to main content
Back to timeline
Vercel NewsSource publication:

Vercel Alerts Move Beyond Built-Ins: Custom Monitors Watch AI Gateway Costs, Core Web Vitals or Error Ratios

Synopsis

Vercel's observability console now lets teams define their own alerting monitors from their own query results, not only from the built-in alerts that Observability Plus has provided. Each monitor tracks a single metric, such as response time, or a ratio of two, such as errors divided by total requests, and uses either statistical anomaly detection or a fixed threshold with a configurable detection window, filters and grouping. Monitors can be started from a chart query, a preset or the team's alerts settings, or defined in JSON and added with the CLI; alerts go to email, Slack or team webhooks, and the feature requires Observability Plus on Pro or Enterprise plans.

Source-provided article image: Create custom monitors in Vercel Observability
Vercel

Interpretation

Vercel's observability console now accepts monitors that teams define themselves, with alerting conditions taken from their own query results rather than from a preset list of platform signals. Observability Plus previously supplied built-in alerts, and custom monitors are the capability added here. Each monitor binds to a single metric or a ratio of two, such as errors divided by total requests, and the signals named for tracking include AI Gateway costs, Core Web Vitals and other performance metrics, Workflow and external API failure rates, and Vercel Sandbox CPU time.

A monitor is defined on top of an observability query: pick one metric or a ratio of two, choose statistical anomaly detection or a fixed threshold, then set the detection window, filters and grouping. Creation starts by inspecting a chart's query in Observability, from a preset, or from Settings > Alerts for a team, and a monitor can also be written as a JSON file and added with the `vercel monitors add` command, whose schema and examples come from `vercel monitors schema --type custom`. Alerts arrive by email, Slack, Vercel Inbox, push notifications or team-level webhooks, and context can be attached for Vercel Agent to use when it investigates an alert.

Perspective

Monitors are limited to a single metric or a ratio of two, triggered either by statistical anomaly detection or by a fixed threshold, with the detection window, filters and grouping set by the user.

The feature is billed at $0.0035 per GB of data scanned and is available on Pro and Enterprise plans with Observability Plus, where built-in alerts remain included.