• 告警通知
  • 通知管理器如何区分 AlertManager 的多个 receivers 发过来的 webhook?

AlertManager 的配置如下:

    receivers:
      - name: "ops"
        webhook_configs:
          - url: "http://notification-manager-svc.kubesphere-monitoring-system.svc:19093/api/v2/alerts"
            send_resolved: true
      - name: "dev"
        webhook_configs:
          - url: "http://notification-manager-svc.kubesphere-monitoring-system.svc:19093/api/v2/alerts"

现在我想让 notification-manager 根据 AlertManager 的 receivers 将收到的告警发给不同的 Receiver 对象