Vercel Sandbox Adds Memory Observability to Dashboard and CLI
Key point
The new feature includes P75 and P95 memory metrics in the dashboard and exposes memoryUsedBytes data via the vercel metrics CLI command.
Details
Vercel has expanded Sandbox observability to include detailed memory usage data, accessible through both the web dashboard and the Vercel CLI.
Dashboard Enhancements
The Memory Usage card on the sandbox overview page now reports average, P75, and P95 memory metrics alongside existing CPU and data transfer statistics. On individual sandbox detail pages, charts automatically scale the y-axis to the sandbox's memory limit and display a dashed reference line at 85% of that ceiling to help users monitor proximity to resource limits.
CLI and Query Builder
Developers can access this data via the vercel metrics command using the vercel.sandbox.memory_used_bytes metric. Running the command in a linked project provides project-specific data, while appending --all aggregates data across all projects in a team. The CLI output includes the metric, reporting period, measurement interval, associated project, and a graph showing min, max, and average values.
Additionally, memory data is available in the Observability query builder as the memoryUsedBytes measure on the sandbox usage event, allowing for custom queries and alert creation.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.