diff --git a/etc/template/dingtalk.tpl b/etc/template/dingtalk.tpl index 59ece247..094c6247 100644 --- a/etc/template/dingtalk.tpl +++ b/etc/template/dingtalk.tpl @@ -3,4 +3,5 @@ 规则备注: {{.RuleNote}}{{end}} 监控指标: {{.TagsJSON}} {{if .IsRecovered}}恢复时间:{{timeformat .LastEvalTime}}{{else}}触发时间: {{timeformat .TriggerTime}} -触发时值: {{.TriggerValue}}{{end}} \ No newline at end of file +触发时值: {{.TriggerValue}}{{end}} +发送时间: {{.timestamp}} \ No newline at end of file diff --git a/etc/template/feishu.tpl b/etc/template/feishu.tpl index 59ece247..094c6247 100644 --- a/etc/template/feishu.tpl +++ b/etc/template/feishu.tpl @@ -3,4 +3,5 @@ 规则备注: {{.RuleNote}}{{end}} 监控指标: {{.TagsJSON}} {{if .IsRecovered}}恢复时间:{{timeformat .LastEvalTime}}{{else}}触发时间: {{timeformat .TriggerTime}} -触发时值: {{.TriggerValue}}{{end}} \ No newline at end of file +触发时值: {{.TriggerValue}}{{end}} +发送时间: {{.timestamp}} \ No newline at end of file diff --git a/etc/template/mailbody.tpl b/etc/template/mailbody.tpl index fa5e2d64..2763d143 100644 --- a/etc/template/mailbody.tpl +++ b/etc/template/mailbody.tpl @@ -181,6 +181,13 @@ {{end}} + + 发送时间: + + {{.timestamp}} + + + PromQL: diff --git a/etc/template/wecom.tpl b/etc/template/wecom.tpl index d1c7410a..c3374b54 100644 --- a/etc/template/wecom.tpl +++ b/etc/template/wecom.tpl @@ -3,4 +3,5 @@ **规则备注**: {{.RuleNote}}{{end}} **监控指标**: {{.TagsJSON}} {{if .IsRecovered}}**恢复时间**:{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}} -**触发时值**: {{.TriggerValue}}{{end}} \ No newline at end of file +**触发时值**: {{.TriggerValue}}{{end}} +**发送时间**: {{.timestamp}} \ No newline at end of file