Prometheus AlertManager - Send Alerts to different clients based on routes
问题 I have 2 services A and B which I want to monitor. Also I have 2 different notification channels X and Y in the form of receivers in the AlertManager config file. I want to send to notify X if service A goes down and want to notify Y if service B goes down. How can I achieve this my configuration? My AlertManager YAML file is: route: receiver: X receivers: - name: X email_configs: - name: Y email_configs: And alert.rule files is: groups: - name: A rules: - alert: A_down expr: expression for: