在AlertmanagerConfig配置文件的receiver部分中,设置"continue: true",代码示例如下:
receivers:
- name: example_receiver
email_configs:
- to: 'example@example.com'
send_resolved: true
continue: true
通过将"continue: true"设置为收件人中的一个属性,可以确保在主题中包含多个警报的情况下,Alertmanager将发送所有通知,而不止是第一个。