mirror of https://github.com/prometheus/prometheus
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>pull/4284/head
parent
78efdc6d6b
commit
5c70213f9f
Loading…
Reference in new issue