refactor dingtalk.tpl
This commit is contained in:
parent
c3c1aa5aff
commit
f661a6bd37
|
@ -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}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue