老实说grafana告警不是很好用,也不能分级告警。建议用prometheus的告警
1.配置告警规则



我这里是用的移动139邮箱,
[smtp]
enabled = true
user =15118693561@139.COM #####你的邮箱
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password =密码######你的密码
cert_file =
key_file =
skip_verify = false
from_address = 15118693561@139.COM###你的邮箱
from_name = Grafana
ehlo_identity =
[emails]
welcome_email_on_sign_up = false
templates_pattern = emails/*.html

