1 Star 0 Fork 127

aobama / PrometheusAlert

forked from feiyu563 / PrometheusAlert 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
grafana.md 776 Bytes
一键复制 编辑 原始数据 按行查看 历史

Grafana 接入配置

首先使用管理员或者具有告警配置权限的帐号登录进Grafana管理页面,登录后进入notification channels配置。

grafana1

注意此处的地址需要去PrometheusAlert的模版页面获取,如发送给钉钉的grafana模版http://[prometheusalert_url]:8080/prometheusalert?type=dd&tpl=grafana-dd&ddurl=钉钉机器人地址&at=18888888888

grafana2 PrometheusAlert的模版页面 grafana4 配置完成后保存即可.继续进行告警消息配置,选择任意一个折线图,点击编辑,进入aler配置,配置参考下图:

grafana3

grafana4

最终告警效果:

grafana5

Go
1
https://gitee.com/codingAobama/PrometheusAlert.git
git@gitee.com:codingAobama/PrometheusAlert.git
codingAobama
PrometheusAlert
PrometheusAlert
master

搜索帮助