mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
d15adfc917
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. |
||
---|---|---|
.. | ||
discovery | ||
testdata | ||
helpers_test.go | ||
relabel.go | ||
relabel_test.go | ||
scrape.go | ||
target.go | ||
target_test.go | ||
targetmanager.go | ||
targetmanager_test.go |