prometheus/scrape
Brian Brazil e7c6feabe1
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-11-04 09:08:04 +01:00
..
testdata Use SAN in test certificate (#7789) 2020-08-12 23:15:38 +02:00
helpers_test.go Add context to Appender interface 2020-07-24 19:40:51 +05:30
manager.go Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00
manager_test.go Improve testutil.ErrorEqual (#6471) 2019-12-17 21:11:33 +00:00
scrape.go More granular locking for scrapeLoop. (#8104) 2020-11-04 09:08:04 +01:00
scrape_test.go Scrape: Test that deduplicated targets are started (#7975) 2020-09-30 20:21:32 +02:00
target.go Unify Iterator interfaces. All point to storage now. 2020-02-17 18:03:54 +00:00
target_test.go Invert service discovery dependencies (#7701) 2020-08-20 13:48:26 +01:00