prometheus/config
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
..
testdata Add limits to global config (#12126) 2023-05-30 09:22:23 +01:00
config.go scraping: limit detail on dropped targets, to save memory (#12647) 2023-08-14 15:39:25 +01:00
config_default_test.go Add new Go build tags. 2021-08-27 10:24:14 +02:00
config_test.go Add Azure AD package for remote write (#11944) 2023-06-01 15:20:10 -06:00
config_windows_test.go Invert service discovery dependencies (#7701) 2020-08-20 13:48:26 +01:00