prometheus/retrieval/discovery
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
..
fixtures Fix discarding of labels in file target groups 2015-05-27 18:52:44 +02:00
kubernetes Change TargetProvider interface. 2016-03-01 13:48:36 +01:00
marathon Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
consul.go Change TargetProvider interface. 2016-03-01 13:48:36 +01:00
dns.go Preserve target state across reloads. 2016-03-01 13:48:36 +01:00
ec2.go Change TargetProvider interface. 2016-03-01 13:48:36 +01:00
file.go Change TargetProvider interface. 2016-03-01 13:48:36 +01:00
file_test.go Change TargetProvider interface. 2016-03-01 13:48:36 +01:00
kubernetes.go Fix most golint warnings. 2015-08-26 12:44:46 +02:00
marathon.go Change TargetProvider interface. 2016-03-01 13:48:36 +01:00
marathon_test.go Change TargetProvider interface. 2016-03-01 13:48:36 +01:00
nerve.go Change TargetProvider interface. 2016-03-01 13:48:36 +01:00
serverset.go Change TargetProvider interface. 2016-03-01 13:48:36 +01:00