Trace any Vercel request from the CLI
By Steven Van ·
Vercel CLI's new `vercel curl --trace` and `vercel traces get` commands generate and fetch OpenTelemetry traces on all plans.
Vercel CLI can now generate a Session Trace for any request. The new vercel curl --trace command sends a request through Vercel's curl wrapper and creates an OpenTelemetry trace for it, then prints the trace request ID. A companion vercel traces get command fetches the resulting trace data by that request ID.
The feature is available on all plans. It requires updating to the latest Vercel CLI and running vercel curl --trace against an endpoint to get started.
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →