prometheus/scrape
Simon Pasquier 2cbba4e948 scrape: fix data races
This commit avoids passing the full scrape configuration down to the
scrape loop to fix data races when the scrape configuration is being
reloaded.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-04-18 11:17:31 +02:00
..
testdata rename package retrieve to scrape 2018-02-01 09:55:07 +00:00
helpers_test.go rename package retrieve to scrape 2018-02-01 09:55:07 +00:00
manager.go Races/3994 (#4005) 2018-04-09 15:18:25 +01:00
manager_test.go scrape: fix data races 2018-04-18 11:17:31 +02:00
scrape.go scrape: fix data races 2018-04-18 11:17:31 +02:00
scrape_test.go scrape: fix data races 2018-04-18 11:17:31 +02:00
target.go add mutex for DiscoveredLabels 2018-04-10 00:18:58 +03:00
target_test.go rename package retrieve to scrape 2018-02-01 09:55:07 +00:00