Mateusz Matuszkowiak | 2a51e98 | 2018-11-27 15:48:27 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | alertmanager_notification_salesforce_host: sf_notifier |
| 4 | alertmanager_notification_salesforce_port: ${prometheus:sf_notifier:uwsgi:bind_port} |
| 5 | prometheus: |
| 6 | alertmanager: |
| 7 | enabled: true |
| 8 | config: |
| 9 | route: |
| 10 | routes: |
| 11 | salesforce: |
| 12 | receiver: HTTP-salesforce |
| 13 | match_re: |
| 14 | - label: route |
| 15 | value: '(.*salesforce.*)' |
| 16 | continue: true |
| 17 | receiver: |
| 18 | HTTP-salesforce: |
| 19 | enabled: true |
| 20 | webhook_configs: |
| 21 | salesforce-vip: |
| 22 | url: "http://${_param:alertmanager_notification_salesforce_host}:${_param:alertmanager_notification_salesforce_port}/hook" |
| 23 | send_resolved: true |