annotations 示例
annotations 示例
annotations:
summary: "order-svc 支付错误率 12%(阈值 5%),用户支付失败"
description: "近 10 分钟 5xx 占比 12%,影响下单支付环节,涉及 3/12 实例"
dashboard_url: "https://grafana.example.com/d/order-svc"
runbook_url: "https://wiki.example.com/runbook/order-svc-error"
value: "{{ $value | humanizePercentage }}"避免只发“HighErrorRate exceeded”这样的标题——接收者需要自行翻译与找资料,处置被拖慢。