refactor dingtalk.tpl

This commit is contained in:
Ulric Qin 2021-12-17 12:24:24 +08:00
parent 7bcb6acb03
commit c3c1aa5aff
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#### {{if .IsRecovered}}<font color="#008800">S{{.Severity}} - Recovered - {{.RuleName}}</font>{{else}}<font color="#FF0000">S{{.Severity}} - Triggered - {{.RuleName}}</font>{{end}}
---
> - **规则标题**: {{.RuleName}}{{if .RuleNote}}
> - **规则备注**: {{.RuleNote}}{{end}}
> - **监控指标**: {{.TagsJSON}}
@ -7,3 +9,5 @@
> - **触发时值**: {{.TriggerValue}}{{end}}
> - **发送时间**: {{timestamp}}
---