VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 697fd44158 lib/promscrape: make a copy of ScrapeWork from discovered []ScrapeWork slice instead of referring to an item in this slice
This should prevent from holding previously discovered []ScrapeWork slices when a part of discovered targets changes over time.
This should reduce memory usage for the case when big number of discovered scrape targets changes over time.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/825
2020-11-10 16:13:31 +02:00
..
discovery lib/promscrape/discovery/kubernetes: go fmt 2020-11-07 13:04:09 +02:00
discoveryutils Adds dockerswarm sd (#818) 2020-10-12 16:13:58 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:22 +03:00
client.go lib/promscrape: properly handle response body after 301 redirect 2020-11-02 01:09:59 +02:00
config.go lib/promscrape: pre-allocate slice for discovered targets based on previously discovered targets 2020-11-10 15:57:43 +02:00
config_test.go lib/promscrape: pre-allocate slice for discovered targets based on previously discovered targets 2020-11-10 15:57:43 +02:00
scraper.go lib/promscrape: add -promscrape.dropOriginalLabels command-line flag for reducing memory usage when discovering big number of scrape targets 2020-11-10 00:20:49 +02:00
scrapework.go lib/promscrape: eliminate data race in stream parse mode 2020-11-07 12:45:52 +02:00
scrapework_test.go lib/promscrape: reduce memory allocations in promLabelsString() function 2020-11-04 10:38:59 +02:00
scrapework_timing_test.go lib/promscrape: show real timestamp and real duration for the scape on /targets page 2020-08-10 12:40:49 +03:00
statconn.go lib/promscrape: add stream parse mode for efficient scraping of targets that expose millions of metrics 2020-11-01 23:12:26 +02:00
targetstatus.go lib/promscrape: make a copy of ScrapeWork from discovered []ScrapeWork slice instead of referring to an item in this slice 2020-11-10 16:13:31 +02:00