Martin Polreich | 302a1d5 | 2017-06-21 12:46:33 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | alertmanager_notification_pushkin_host: ${_param:haproxy_pushkin_bind_host} |
| 4 | alertmanager_notification_pushkin_port: ${_param:haproxy_pushkin_bind_port} |
| 5 | parameters: |
| 6 | prometheus: |
| 7 | alertmanager: |
| 8 | config: |
| 9 | route: |
| 10 | group_by: ['region', 'service'] |
| 11 | group_wait: 60s |
| 12 | group_interval: 5m |
| 13 | repeat_interval: 3h |
| 14 | receiver: pushkin_notification |
| 15 | routes: |
| 16 | - match: |
| 17 | route: email |
| 18 | receiver: email_notification |
| 19 | - match: |
| 20 | route: salesforce |
| 21 | receiver: salesforce_notification |
| 22 | receivers: |
| 23 | - name: salesforce_notification |
| 24 | webhook_configs: |
| 25 | - url: "${_param:alertmanager_notification_pushkin_host}:${_param:alertmanager_notification_pushkin_port}/webhook?app=stacklight&route=salesforce&cluster_id=id" |
| 26 | send_resolved: true |
| 27 | - name: pushkin_notification |
| 28 | webhook_configs: |
| 29 | - url: "${_param:alertmanager_notification_pushkin_host}:${_param:alertmanager_notification_pushkin_port}/webhook?app=stacklight&route=email&cluster_id=id" |
| 30 | send_resolved: true |