Trace all requests in the Vercel CLI
Key point
You can generate OpenTelemetry-based session traces via the Vercel CLI and look up data by request ID.
Details
A new feature has been added that lets you generate Session Traces through the Vercel CLI.
Users can use the vercel curl --trace command to instantly generate an OpenTelemetry trace to a specific endpoint from the terminal.
The generated trace data is managed in the following ways.
- Generate trace: Generate a trace to the specified endpoint using the
vercel curl --trace <URL>command - Look up data: Retrieve the generated trace data using the
vercel traces get <request-id>command
This feature is available on all plans, and you can start using it right away by updating to the latest version of the Vercel CLI.
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.