Query observability metrics using the Vercel CLI
By Steven Van ·
Vercel's new "vercel metrics" CLI command queries Observability Plus data from the terminal, in public beta for Enterprise and Pro teams.
Vercel's CLI can now query Observability Plus metrics directly. The new vercel metrics command pulls observability data for any team or project from the terminal, and coding agents can use it too, to check the performance, reliability or security of an app and debug issues without opening the dashboard.
Running vercel metrics schema lists the metrics available to an account, or inspects a specific metric's dimensions and aggregations before you query it. Queries support filtering, grouping, time ranges and a JSON output mode for scripts and CI checks.
The command is in public beta for all teams with Observability Plus. Web Analytics and Speed Insights metrics can be queried without Observability Plus; other metrics require it, on Enterprise and Pro plans.