diff --git a/config/email.tmpl b/config/email.tmpl index 9de3463ce..f0ca6c282 100644 --- a/config/email.tmpl +++ b/config/email.tmpl @@ -1,6 +1,6 @@ {{ define "email.to.html" }} {{ range .Alerts }} ---------------------------------------------------------- +-------------------------openim alert---------------------
告警程序: prometheus_alert
告警级别: {{ .Labels.severity }} 级
告警类型: {{ .Labels.alertname }}
@@ -8,6 +8,8 @@ 故障服务: {{ .Labels.job }}
告警主题: {{ .Annotations.summary }}
触发时间: {{ .StartsAt.Format "2020-01-02 15:04:05"}}
----------------------------------------------------------- +----------------------------------------------------------
+
+
{{ end }} {{ end }} \ No newline at end of file