diff --git a/etc/template/dingtalk.tpl b/etc/template/dingtalk.tpl index 45c9ae6d..2fb52c7f 100644 --- a/etc/template/dingtalk.tpl +++ b/etc/template/dingtalk.tpl @@ -1,5 +1,7 @@ #### {{if .IsRecovered}}S{{.Severity}} - Recovered - {{.RuleName}}{{else}}S{{.Severity}} - Triggered - {{.RuleName}}{{end}} +--- + > - **规则标题**: {{.RuleName}}{{if .RuleNote}} > - **规则备注**: {{.RuleNote}}{{end}} > - **监控指标**: {{.TagsJSON}} @@ -7,3 +9,5 @@ > - **触发时值**: {{.TriggerValue}}{{end}} > - **发送时间**: {{timestamp}} +--- +