Newshot
Account

Speed Insights 与 Web Analytics 支持自定义环境

AI summary

Speed Insights 和 Web Analytics 现已全面支持自定义环境。此前部署在自定义环境中的数据会被归入 Preview 环境,现在则归入其所属的自定义环境,便于单独追踪 staging、QA 或 canary 环境的性能与流量。此次变更只影响数据归属方式,不采集新数据点,也无需修改配置。

Translation(model translation, not the source's own text)

Speed Insights 和 Web Analytics 现已全面支持自定义环境。

此前,部署到自定义环境时采集的数据会被归到 Preview 环境。现在,这些数据会归到其来源的自定义环境,因此你可以将 staging、QA 或 canary 环境的性能和流量与 Production 和 Preview 分开跟踪。

Speed Insights 环境下拉菜单,显示 All Environments、Production、Preview 以及自定义环境 staging 和 pre-production。
Speed Insights 环境下拉菜单,显示 All Environments、Production、Preview 以及自定义环境 staging 和 pre-production。
Speed Insights 环境下拉菜单,显示 All Environments、Production、Preview 以及自定义环境 staging 和 pre-production。
Speed Insights 环境下拉菜单,显示 All Environments、Production、Preview 以及自定义环境 staging 和 pre-production。

你可以在以下几个位置查看这些数据:

  • 仪表板:在 Speed Insights 和 Web Analytics 中使用 Environment 下拉菜单选择自定义环境
  • CLI:使用 vc metrics 命令进行查询
  • 查询构建器:按环境进行筛选和细分
  • Aggregation API:以编程方式查询(仅限 Web Analytics)

此变更仅影响数据的归属方式。不会采集新的数据点,也无需更改任何配置。

自定义环境在 Pro 和 Enterprise 计划中可用。请参阅环境文档了解更多信息。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗