mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
f3e89754a9
Also reduce CPU usage when applying `series_limit` to scrape targets with constant set of metrics. The main idea is to perform the calculations on scrape_series_added and series_limit only if the set of metrics exposed by the target has been changed. Scrape targets rarely change the set of exposed metrics, so this optimization should reduce CPU usage in general case. |
||
---|---|---|
.. | ||
discovery | ||
discoveryutils | ||
testdata | ||
client.go | ||
config.go | ||
config_test.go | ||
scraper.go | ||
scrapework.go | ||
scrapework_test.go | ||
scrapework_timing_test.go | ||
statconn.go | ||
targets_response.qtpl | ||
targets_response.qtpl.go | ||
targetstatus.go |