Vercel Agent 现在可在告警发送到值班系统前先验证

Vercel Blog 发布日期待确认

Vercel Agent 现在可以在告警进入值班告警系统(paging system)之前,先调查 Vercel 监控发出的告警。为某个 webhook 目标启用验证后,只有被 Agent 归类为 Critical(严重)的告警才会发送到该目标。

启用验证的步骤:

  1. 打开某个监控项的通知设置,为你的值班告警系统创建或关联一个 webhook 目标,例如 incident.io。
  2. 在该目标旁选择 Critical Only(仅严重)。

你也可以用 Vercel CLI 配置通知目标,命令是 vercel monitors notifications。在关联或更新 webhook 目标时加上 --critical-only。

Monitor notification settings with an incident.io webhook set to Critical Only.

Monitor notification settings with an incident.io webhook set to Critical Only.

Monitor notification settings with an incident.io webhook set to Critical Only.

Monitor notification settings with an incident.io webhook set to Critical Only.

Agent 会检查日志和指标,评估影响范围。例如,它可以识别不影响客户的健康检查错误,也能确认持续出现的 5xx 错误是否影响了结账请求。你还可以为每个监控项补充上下文,帮助 Agent 更有针对性地调查。

告警验证功能面向 Pro 和 Enterprise 套餐开放,需搭配 Observability Plus 使用。Observability Plus 每个计费周期包含十次 Agent 调查,超出部分单独计费。自定义监控器按扫描数据量计费,每 GB 收费 0.0035 美元。内置告警仍包含在 Observability Plus 中。

更多信息请参阅告警 webhook 文档。

查看原文