mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
65bc460323
Substitute O(N^2) algorithm for exposing the `vm_promscrape_scrape_pool_targets` metric with O(N) algorithm, where N is the number of scrape jobs. The previous algorithm could slow down /metrics exposition significantly when -promscrape.config contains thousands of scrape jobs. Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5311 Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5335 |
||
---|---|---|
.. | ||
discovery | ||
discoveryutils | ||
testdata | ||
client.go | ||
config.go | ||
config_test.go | ||
config_timing_test.go | ||
relabel_debug.go | ||
scraper.go | ||
scrapework.go | ||
scrapework_test.go | ||
scrapework_timing_test.go | ||
statconn.go | ||
statconn_test.go | ||
targetstatus.go | ||
targetstatus.qtpl | ||
targetstatus.qtpl.go |