VictoriaMetrics/app/vmalert/notifier
Roman Khavronenko 2a3a62dc41
vmalert: support configuration file for notifiers (#2127)
vmalert: support configuration file for notifiers

* vmalert notifiers now can be configured via file
see https://docs.victoriametrics.com/vmalert.html#notifier-configuration-file
* add support of Consul service discovery for notifiers config
see https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1947
* add UI section for currently loaded/discovered notifiers
* deprecate `-rule.configCheckInterval` in favour of `-configCheckInterval`
* add ability to suppress logs for duplicated targets for notifiers discovery
* change behaviour of `vmalert_alerts_send_errors_total` - it now accounts
for failed alerts, not HTTP calls.
2022-02-02 23:42:25 +02:00
..
testdata vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
alert.go vmalert: correctly calculate alert ID including extra labels (#1734) 2021-10-22 12:31:35 +03:00
alert_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:30:54 +03:00
alertmanager.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
alertmanager_request.qtpl Support of custom URL path for alert (#560) 2020-06-21 16:33:58 +03:00
alertmanager_request.qtpl.go Support of custom URL path for alert (#560) 2020-06-21 16:33:58 +03:00
alertmanager_test.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
config.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
config_test.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
config_watcher.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
config_watcher_test.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
init.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
notifier.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
package_test.go Support of custom URL path for alert (#560) 2020-06-21 16:33:58 +03:00
template_func.go app/vmalert: add parseDuration function in the same way as Prometheus does 2022-01-13 23:30:56 +02:00