订阅服务状态通知

邮件订阅

故障发生、状态更新和已解决时会自动收到邮件。订阅后会先收到一封确认邮件,点击其中链接即可激活。

Webhook 订阅

事件发生时会向你提供的 URL POST 一段 JSON,结构包含 incident、update、event 类型等字段。 Webhook 不需要二次确认,添加后立即生效。

没有现成的接收端?可以用 webhook.site 免费临时生成一个测试 URL。

查看 Webhook 数据样例
{
  "event": "new" | "update" | "resolved",
  "incident": {
    "id": 123,
    "title": "CI 任务处理异常",
    "severity": "degraded",
    "status": "investigating",
    "components": "CI/CD, 镜像仓库",
    "locations": "Google Compute Engine",
    "created_at": 1780000000,
    "resolved_at": null
  },
  "update": {
    "id": 456,
    "ts": 1780000300,
    "status": "investigating",
    "message": "我们正在调查..."
  },
  "detail_url": "http://localhost:8080/history"
}