Closed jitangshaobing closed 3 years ago
同问 我试了feishu2,feishuv2都不行
飞书V2的目前只能支持自定义模版的接口。比如打开 http://你部署的PrometheusAlert的地址/template
,找到最下面的
注意里面的路径
一栏:
比如我的:http://你部署的PrometheusAlert的地址/prometheusalert?type=fsv2&tpl=prometheus-fsv2&fsurl=飞书v2机器人地址
然后把这个地址自己拼接好,填到你的grafana的Url里面
完整地址参考:http://xxx.prometheusalert.com/prometheusalert?type=fsv2&tpl=prometheus-fsv2&fsurl=https://open.feishu.cn/open-apis/bot/v2/hook/cdf0195d-625e-4539-9ba2-xxxxxxxx
grafana/feishu 好像不行,不能触发消息 这里告警测试正常