跳到正文
Vercel Blog(vercel.com)· Fabio Benedetti·· 2 天前精選AI 評分66

Vercel Observability 推出自訂監控功能

Create custom monitors in Vercel Observability

AI 導讀

Vercel Observability 現已支援自訂監控,可依查詢結果設定警報,涵蓋 AI Gateway 成本、Core Web Vitals、Workflow 失敗率等指標。

推薦理由

Vercel 透過自訂監控功能,讓開發團隊可針對 AI Gateway 成本、Core Web Vitals 等指標即時傳送警報,提升運維效率。

正文 · 原文

You can now create custom monitors to get alerts based on your Vercel Observability query results.

For example, you can track signals such as AI Gateway costs, Core Web Vitals and other performance metrics, Workflow and external API failure rates, or Vercel Sandbox CPU time.

Each monitor tracks a single metric, such as response time, or a ratio of two metrics, such as errors divided by total requests. Choose statistical anomaly detection or a fixed threshold, then configure the detection window, filters, and grouping.

To create a monitor, inspect a chart’s query in Observability, start from a preset, or open Settings > Alerts for your team.

You can also define a custom monitor in a JSON file and create it with vercel monitors add in the Vercel CLI. Run vercel monitors schema --type custom for the schema and examples.

Receive alerts through email, Slack, Vercel Inbox, push notifications, or team-level webhooks. You can also add context for Vercel Agent to use when investigating an alert.

Custom monitors are available on Pro and Enterprise plans with Observability Plus, at $0.0035 per GB of data scanned. Built-in alerts remain included with Observability Plus.

Create a custom monitor or learn more in the configuration documentation.

Read more

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