prometheus/retrieval
Fabian Reinartz d15adfc917 Preserve target state across reloads.
This commit moves Scraper handling into a separate scrapePool type.
TargetSets only manage TargetProvider lifecycles and sync the
retrieved updates to the scrapePool.

TargetProviders are now expected to send a full initial target set
within 5 seconds. The scrapePools preserve target state across reloads
and only drop targets after the initial set was synced.
2016-03-01 13:48:36 +01:00
..
discovery Preserve target state across reloads. 2016-03-01 13:48:36 +01:00
testdata Configuration options for bearer tokens, client certs & CA certs 2015-08-04 17:18:46 +01:00
helpers_test.go Fix tests for append API changes 2016-02-03 10:17:08 +01:00
relabel.go Add missing license headers 2015-08-24 19:19:21 +02:00
relabel_test.go Change config regexes to full-string matches. 2015-09-01 15:46:41 +02:00
scrape.go Simplify target update handling. 2016-03-01 13:48:36 +01:00
target.go Preserve target state across reloads. 2016-03-01 13:48:36 +01:00
target_test.go Refactor target scrape reporting. 2016-02-15 18:06:15 +01:00
targetmanager.go Preserve target state across reloads. 2016-03-01 13:48:36 +01:00
targetmanager_test.go Remove old tests 2016-03-01 13:48:36 +01:00