prometheus/config
Paul Gier d24d2acd11 config: set target group source index during unmarshalling (#4245)
* config: set target group source index during unmarshalling

Fixes issue #4214 where the scrape pool is unnecessarily reloaded for a
config reload where the config hasn't changed.  Previously, the discovery
manager changed the static config after loading which caused the in-memory
config to differ from a freshly reloaded config.

Signed-off-by: Paul Gier <pgier@redhat.com>

* [issue #4214] Test that static targets are not modified by discovery manager

Signed-off-by: Paul Gier <pgier@redhat.com>
2018-06-13 16:34:59 +01:00
..
testdata Use common HTTPClientConfig for marathon_sd configuration (#4009) 2018-04-05 09:08:18 +01:00
config.go config: set target group source index during unmarshalling (#4245) 2018-06-13 16:34:59 +01: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: set target group source index during unmarshalling (#4245) 2018-06-13 16:34:59 +01:00
config_windows_test.go Fixing code style to adhere gofmt 2017-07-09 02:43:33 -03:00