Vercel Observability Now Supports Custom Metrics
Key point
Vercel has started supporting the recording and analysis of custom metrics in Observability.
Details
You can now record your own metrics, such as request latency or business events, by calling the metric() function from the @vercel/functions package in Vercel Functions. You can also attach attributes like table names or database names for filtering and grouping.
Published custom metrics are immediately available across various tools in Vercel Observability.
- Query builder: Slice and aggregate metrics in real time
- Notebooks: Build and share dashboards
- CLI: Query via the
vc metricscommand
Vercel automatically adds useful attributes such as source deployment and function region. This feature is available on Pro and Enterprise plans that include Observability Plus, and is billed as Observability events.
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.