prometheus/retrieval
Fabian Reinartz 5bfa4cdd46 Simplify target update handling.
We group providers by their scrape configuration. Each provider produces
target groups with an unique identifier.

On stopping a set of target providers we cancel the target providers,
stop scraping the targets and wait for the scrapers to finish.

On configuration reload all provider sets are stopped and new ones
are created. This will make targets disappear briefly on configuration
reload. Potentially scrapes are missed but due to the consistent
scrape intervals implemented recently, the impact is minor.
2016-03-01 13:48:36 +01:00
..
discovery Kubernetes SD: Fix node IP discovery 2016-03-01 12:24:52 +00: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 Fix a deadlock 2016-02-29 16:34:29 +01:00
target_test.go Refactor target scrape reporting. 2016-02-15 18:06:15 +01:00
targetmanager.go Simplify target update handling. 2016-03-01 13:48:36 +01:00
targetmanager_test.go Fix a targetmanager test 2016-02-22 16:43:48 +01:00