test markdown

This commit is contained in:
Ulric Qin 2021-12-17 11:20:32 +08:00
parent b62a42bed8
commit acc797666d
1 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
**级别状态**: S{{.Severity}} {{if .IsRecovered}}Recovered{{else}}Triggered{{end}} - **级别状态**: {{if .IsRecovered}}<font color="green">S{{.Severity}} Recovered</font>{{else}}<font color="#00ff00">S{{.Severity}} Triggered</font>{{end}}
**规则标题**: {{.RuleName}}{{if .RuleNote}} - **规则标题**: {{.RuleName}}{{if .RuleNote}}
**规则备注**: {{.RuleNote}}{{end}} - **规则备注**: {{.RuleNote}}{{end}}
**监控指标**: {{.TagsJSON}} - **监控指标**: {{.TagsJSON}}
{{if .IsRecovered}}**恢复时间**{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}} - {{if .IsRecovered}}**恢复时间**{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}}
**触发时值**: {{.TriggerValue}}{{end}} **触发时值**: {{.TriggerValue}}{{end}}
**发送时间**: {{timestamp}} - **发送时间**: {{timestamp}}