VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin e205975716 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:05 +02:00
..
discovery lib/promscrape/discovery/kubernetes: go fmt 2020-11-07 13:03:49 +02:00
discoveryutils Adds dockerswarm sd (#818) 2020-10-12 13:38:21 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:10 +03:00
client.go lib/promscrape: properly handle response body after 301 redirect 2020-11-02 01:09:52 +02:00
config.go lib/promscrape: pre-allocate slice for discovered targets based on previously discovered targets 2020-11-10 15:56:51 +02:00
config_test.go lib/promscrape: pre-allocate slice for discovered targets based on previously discovered targets 2020-11-10 15:56:51 +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:19:57 +02:00
scrapework.go lib/promscrape: eliminate data race in stream parse mode 2020-11-07 12:45:17 +02:00
scrapework_test.go lib/promscrape: reduce memory allocations in promLabelsString() function 2020-11-04 10:38:44 +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:25 +03:00
statconn.go lib/promscrape: add stream parse mode for efficient scraping of targets that expose millions of metrics 2020-11-01 23:35:06 +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:05 +02:00