prometheus/web
Bryan Boreham 1e3fef6ab0
scraping: limit detail on dropped targets, to save memory (#12647)
It's possible (quite common on Kubernetes) to have a service discovery
return thousands of targets then drop most of them in relabel rules.
The main place this data is used is to display in the web UI, where
you don't want thousands of lines of display.

The new limit is `keep_dropped_targets`, which defaults to 0
for backwards-compatibility.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-08-14 15:39:25 +01:00
..
api/v1 scraping: limit detail on dropped targets, to save memory (#12647) 2023-08-14 15:39:25 +01:00
ui scraping: limit detail on dropped targets, to save memory (#12647) 2023-08-14 15:39:25 +01:00
federate.go Replace sort.Sort with faster slices.SortFunc 2023-07-10 09:43:45 +00:00
federate_test.go histogram: Expose #12305 2023-07-19 15:29:11 +02:00
web.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00
web_test.go Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336) 2023-05-22 14:37:07 +02:00