prometheus/config
Max Leonard Inden 41c22effbe
config&notifier: Add option to use Alertmanager API v2
With v0.16.0 Alertmanager introduced a new API (v2). This patch adds a
configuration option for Prometheus to send alerts to the v2 endpoint
instead of the defautl v1 endpoint.

Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
2019-06-21 16:33:53 +02:00
..
testdata Check if label value is valid when unmarhsaling external labels from 2019-03-18 20:31:12 +00:00
config.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
config_default_test.go Renaming the config_notwin test to config_default 2017-07-10 11:08:16 -03:00
config_test.go config&notifier: Add option to use Alertmanager API v2 2019-06-21 16:33:53 +02:00
config_windows_test.go Fixing code style to adhere gofmt 2017-07-09 02:43:33 -03:00