grafana自定义告警模版 #18
Replies: 2 comments 1 reply
|
方法似乎过时了?现在的文档里写的邮件也是用Templates了。 |
1 reply
|
现在的文档里已经没有“ng_alert_notification.html”的相关内容了。
…________________________________
发件人: liuxingjun ***@***.***>
发送时间: 2025年1月6日 10:09
收件人: liuxingjun/liuxingjun.github.io ***@***.***>
抄送: huangsijun17 ***@***.***>; Comment ***@***.***>
主题: Re: [liuxingjun/liuxingjun.github.io] grafana自定义告警模版 (Discussion #18)
我测试时版本是v8.4.2,是新版本的 grafana 不一样了吗?
―
Reply to this email directly, view it on GitHub<#18 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHQLRU2WAWDK4LXVINS67LL2JHQTZAVCNFSM6AAAAABUUWS3GGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZUGM3DQNI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
grafana自定义告警模版
因 grafana 告警信息太多无用数据,容易干扰查看例如使用 企业微信告警消息如下太多无用Labels 例如 endpoint,job,pod,service还有Value 字段太占空间,Source, Silence 字段,因太长且无用所以修改模版来精简告警消息 方式一: 文本类告警例如企业微信类的文本告警,根据官网文档知道默认模版来自 default_template.go主要定义了2个模版
https://liuxingjun.github.io/2022/03/16/grafana%E8%87%AA%E5%AE%9A%E4%B9%89%E5%91%8A%E8%AD%A6%E6%A8%A1%E7%89%88/
All reactions