prometheus/web
Krasi Georgiev 47a673c3a0
process scrape loops reloading in parallel (#4526)
The scrape manage receiver's channel now just saves the target sets
and another backgorund runner updates the scrape loops every 5 seconds.
This is so that the scrape manager doesn't block the receiving channel
when it does the long background reloading of the scrape loops.

Active and dropped targets are now saved in each scrape pool instead of
the scrape manager. This is mainly to avoid races when getting the
targets via the web api.

When reloading the scrape loops now happens in parallel to speed up the
final disared state and this also speeds up the prometheus's shutting
down.

Also updated some funcs signatures in the web package for consistency.

Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2018-09-26 12:20:56 +03:00
..
api process scrape loops reloading in parallel (#4526) 2018-09-26 12:20:56 +03:00
ui Better link for docs (#4593) 2018-09-13 15:26:41 +05:30
federate.go Add SelectParams to Select for federation (#4546) 2018-08-28 11:23:31 +01:00
federate_test.go Fix spelling mistakes found by codespell (#4065) 2018-04-27 13:04:02 +01:00
web.go process scrape loops reloading in parallel (#4526) 2018-09-26 12:20:56 +03:00
web_test.go web: fix asset paths for Windows platforms (#4616) 2018-09-19 12:50:53 +05:30