Vercel - observability - vibe coding
4 min lectura

Vercel Tracing is GA: find the slow step in your app

Vercel Tracing is available on every plan. Find slow spans, configure sampling, estimate usage, and verify whether a release improved your app.

Vercel Tracing is GA: find the slow step in your app

Your prototype feels instant on your laptop. A customer opens a published order and waits four seconds. A coding agent offers a “performance fix,” but without the path of a real request you cannot tell whether the delay came from routing, a server function, a database call, or an external model. Vercel Tracing gives you a way to investigate before changing code.

On November 6, 2026, Vercel made Tracing generally available on Hobby, Pro, and Enterprise. Its Traces view groups requests into spans, while the dashboard and CLI can search them with KQL. The useful outcome for a small team is a narrower question: which step was slow, and did the next release actually improve it?

What the release adds

During beta, you opened a trace from a particular log entry. The new view lists traces and spans across a project or team, supports filters and live updates, and lets you reuse the same KQL expression in the CLI. If an AI feature is slow, this can prevent a premature switch of models when the real bottleneck is an outbound fetch or an overloaded function.

Vercel collects infrastructure and outbound fetch spans automatically. Framework and custom spans need instrumentation. For eligible new Next.js 16.5 projects, Vercel injects framework instrumentation at build time. A trace is evidence of where time was spent, not a complete diagnosis: compare it with code, database state, and the user's request.

Diagram showing a request being sampled, slow spans searched, and one request ID inspected
A SoyJB diagnostic workflow, not a screenshot of the Vercel product.

A reproducible investigation

  1. Choose a safe route in your own app, such as a search endpoint with synthetic records. If the project was created on or after November 5, built on Vercel with Next.js 16.5 or newer, and includes at least one Node.js function, check Settings → Tracing for its default rule. Static exports, Edge-only apps, and vercel deploy --prebuilt do not qualify for that automatic setup.

  2. For an older or other project, add a sampling rule for Preview or a narrow request path. Start below 100% if the app has meaningful traffic. Send a few controlled requests and open Traces. Sampling means a particular request may not be recorded, so do not mistake an empty result for proof that the endpoint did no work.

  3. In the dashboard, search for span.duration > 2000. The documented CLI equivalent is vercel traces search --query 'span.duration > 2000'; for recent failures try vercel traces search --status error --since 1h. Take a request ID from a log and run vercel traces inspect <request-id>. Note the dominant span and write one testable explanation for it.

  4. Change one thing, repeat the route with comparable input, and inspect a second trace. If you alter the prompt, database index, and route logic together, you will struggle to attribute the improvement.

Check sampling before the bill

Eligible new Next.js projects start with a rule tracing 100% of requests. Vercel counts indexed span units, rather than just requests; a span up to 2 KiB costs at least one unit and a larger span costs more. A planning example: 100,000 requests with 20 small indexed spans each would use at least 2 million units. Hobby includes 1 million units monthly and pauses tracing after the allowance is exhausted. Vercel lists Pro at US$0.50 per million units. Look at actual usage and reduce the sampling rate or narrow the path if the default is excessive.

Hobby retains traces for 3 days, while Pro and Enterprise retain them for 14. Removing every sampling rule turns collection off. Custom spans from Edge functions do not show up in traces. If your database or AI call is absent from the timeline, inspect instrumentation before declaring that layer innocent.

Decision for this week: turn on narrowly scoped tracing when a published app has a repeatable latency or error problem, then use a second comparable request to validate the fix. The commands here follow Vercel's documentation; SoyJB has not run them against your account or measured your application's performance.

Primary sources: Vercel announcement, Nov 6, 2026 and Tracing setup, pricing, and limits.

Comentarios

Aún no hay comentarios. Sé el primero.

Deja un comentario