跳到正文
Vercel Blog(vercel.com)· Damien Simonin Feugas·· 13 天前品質評分48

Speed Insights 與 Web Analytics 現已支援自訂環境

Speed Insights and Web Analytics now support custom environments

重點導讀

Speed Insights 與 Web Analytics 現在會將部署到自訂環境的資料歸屬至該環境,讓使用者能分別追蹤 staging、QA 或 canary 環境的效能與流量。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

正文

Speed Insights and Web Analytics now fully support custom environments.

Previously, data captured on deployments to a custom environment was attributed to the Preview environment. That data is now attributed to the custom environment it came from, so you can track performance and traffic for staging, QA, or canary environments separately from Production and Preview.

Speed Insights Environment dropdown showing All Environments, Production, Preview, and the custom environments staging and pre-production.Speed Insights Environment dropdown showing All Environments, Production, Preview, and the custom environments staging and pre-production.

The Environment dropdown in Speed Insights, with custom environments listed alongside Production and Preview.

You can view this data in several places:

  • Dashboard: use the Environment dropdown in Speed Insights and Web Analytics to pick a custom environment

  • CLI: query it with the vc metrics command

  • Query builder: filter and break down by environment

  • Aggregation API: query it programmatically (Web Analytics only)

This change only affects how data is attributed. No new data points are collected, and no configuration changes are needed.

Custom environments are available on Pro and Enterprise plans. Learn more in the environments documentation.

來源: Vercel Blog (vercel.com)
開啟原文

讀者討論

理性交流 · 即時討論