refactor dingtalk.tpl

This commit is contained in:
Ulric Qin 2021-12-17 13:04:39 +08:00
parent c3c1aa5aff
commit f661a6bd37
1 changed files with 6 additions and 8 deletions

View File

@ -2,12 +2,10 @@
---
> - **规则标题**: {{.RuleName}}{{if .RuleNote}}
> - **规则备注**: {{.RuleNote}}{{end}}
> - **监控指标**: {{.TagsJSON}}
> - {{if .IsRecovered}}**恢复时间**{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}}
> - **触发时值**: {{.TriggerValue}}{{end}}
> - **发送时间**: {{timestamp}}
---
- **规则标题**: {{.RuleName}}{{if .RuleNote}}
- **规则备注**: {{.RuleNote}}{{end}}
- **监控指标**: {{.TagsJSON}}
- {{if .IsRecovered}}**恢复时间**{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}}
- **触发时值**: {{.TriggerValue}}{{end}}
- **发送时间**: {{timestamp}}