Always-on tracing for production and preview traffic

With always-on tracing, you can now debug your real user requests without reproducing them.

Always-on tracing continuously collects traces from your production and preview traffic. Unlike session tracing, which only captures requests from your own browser, it samples your live traffic.

You control what's collected with sampling rules. Each rule sets a trace rate for an environment (All, Production, or Preview), optionally scoped to a path prefix like /checkout. Nothing is collected until you add a rule, so you pay only for what you choose to trace.

Infrastructure and outbound fetch spans are captured automatically. To add framework and custom spans, instrument your app with @vercel/otel.

To view a trace, open the Logs or run vercel traces get .

Always-on tracing is is now in beta and available to teams on all plans. Tracing is priced at $0.50 per 1M span units. Traces follow your runtime log retention: 1 hour on Hobby, 1 day on Pro and 3 days on Enterprise.

Get started by adding a rule in Settings → Tracing or from the settings icon in Logs. Learn more in the documentation.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论