prometheus/web
Simon Pasquier 097439b0f9 web: limit the number of dropped targets (#4212)
Displaying all the dropped targets in the service-discovery page hurts
the Prometheus server as well as the browser when thousands of dropped
targets exist. This change limits this number to 1,000 and display the
number of active/total targets per scrape configuration.

Add warning when more than 100 targets are dropped

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-06-05 10:20:32 +01:00
..
api Races/3994 (#4005) 2018-04-09 15:18:25 +01:00
ui web: limit the number of dropped targets (#4212) 2018-06-05 10:20:32 +01:00
federate.go *: implement query params 2018-02-13 12:17:22 +01:00
federate_test.go use httptest.NewRequest, remove http.ReadRequest (#3557) 2017-12-07 23:52:50 +08:00
web.go web: limit the number of dropped targets (#4212) 2018-06-05 10:20:32 +01:00
web_test.go Added test to check pathPrefix 2018-03-30 11:55:54 +05:30