Azure Monitor Action Group Webhook 架构设计 — 从透传到智能路由 深入解析 Azure Monitor 告警通知链路,从简单的 Webhook 透传演进到按级别/项目/时段智能路由,附完整架构图和代码实现。前言Azure Monitor 的告警通知链路看似简单:告警规则 → Action Group → 通知。但当规模增长到 100+ 条规则、多个通知群、需要按级别分流时,原生能力就不够用了。本文记录从最简单的透传架构,一步步演进到智能路由的完整过程。架构演进V1:直连(1 对 1)告警规则 → Action Group → 钉钉 Webhook(直接调用)做法:Action Group 的 Webhook Receiver 直接填钉钉机器人 URL。问题:钉钉消息格式不可控(Azure 原始 JSON 太丑)无法加工消息内容(如中文时间、级别 emoji)钉钉 Webhook 换了要改所有 Action GroupV2:透传函数(格式化)告警规则 → Action Group(带 webhook 参数)→ Azure Function → 钉钉