prometheus/scrape
Brian Brazil 3f8e51738c
More granular locking for scrapeLoop. (#8104)
Don't lock for all of Sync/stop/reload as that holds up /metrics and the
UI when they want a list of active/dropped targets. Instead take
advantage of the fact that Sync/stop/reload cannot be called
concurrently by the scrape Manager and lock just on the targets
themselves.

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2020-10-26 14:46:20 +00:00
..
testdata Use SAN in test certificate (#7789) 2020-08-12 23:15:38 +02:00
helpers_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
manager.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
manager_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
scrape.go More granular locking for scrapeLoop. (#8104) 2020-10-26 14:46:20 +00:00
scrape_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
target.go Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00
target_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00