【发布时间】:2018-06-03 21:34:11
【问题描述】:
如何在“收件人”字段中创建具有多个电子邮件地址的收件人配置?
【问题讨论】:
标签: email configuration monitoring prometheus
如何在“收件人”字段中创建具有多个电子邮件地址的收件人配置?
【问题讨论】:
标签: email configuration monitoring prometheus
您可以在to 字段中输入逗号分隔的电子邮件地址。
to: 'user1@example.com, user2@example.com'
【讨论】:
对于 prometheus 1.8,我在同一个接收器中使用了两个“to”配置。
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
【讨论】: