Skip to content
Kitbay

custom-metrics

Apache-2.0Updated on Nov 10, 2026333GitHub stars

This Vercel plugin skill covers Custom Metrics, numeric measurements that server code in a Vercel Function sends with the metric function from the @vercel/functions package.

What the skill teaches

This Vercel plugin skill covers Custom Metrics, numeric measurements that server code in a Vercel Function sends with the metric function from the @vercel/functions package. The agent learns to install or update that package, emit samples with sensible names and attributes, invoke the deployed function, and then find and query the values with the vc metrics command or in Observability. It also explains how to shape metrics so they are useful to query and when another signal such as logs or traces fits better.

Capabilities

  • Emit numeric metrics from Vercel Functions
  • Choose metric names and attributes for later queries
  • Query custom metrics with vc metrics
  • Decide when metrics, logs or traces fit a question