如何在"至"中创建具有多个电子邮件地址的接收器配置?场?
答案 0 :(得分:7)
您可以将逗号分隔的电子邮件地址放在to
字段中。
答案 1 :(得分:0)
对于Prometheus 1.8,我在同一接收机中使用两个“至”配置。
receivers:
- name: 'bla1-and-bla2-mails'
email_configs:
- to: 'bla1@example.com'
from: 'prometheus@example.com'
require_tls: false
send_resolved: true
- to: 'bla2@example.com'
from: 'prometheus@example.com'
require_tls: false
send_resolved: true