VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 3d0549c982
lib/promscrape: optimize getScrapeWork() function
Reduce the number of memory allocations in this function. This improves its performance by up to 50%.
This should improve service discovery speed when big number of potential targets with big number of meta-labels
are generated by service discovery.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2270
2022-04-20 15:37:00 +03:00
..
discovery all: typo fix: Kuberntes -> Kubernetes 2022-04-20 10:50:49 +03:00
discoveryutils lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
testdata lib/promscrape: fix errors in test config 2022-02-08 19:56:37 +02:00
client.go lib/promscrape: allow up to 5 redirects when scraping a target by default 2021-12-16 00:14:14 +02:00
config.go lib/promscrape: optimize getScrapeWork() function 2022-04-20 15:37:00 +03:00
config_test.go lib/promscrape: optimize getScrapeWork() function 2022-04-20 15:37:00 +03:00
scraper.go lib/promscrape: adds job restart method (#2455) 2022-04-16 20:28:46 +03:00
scrapework.go lib/promscrape: follow-up after 7e79adfb55 2022-04-12 12:36:17 +03:00
scrapework_test.go lib/promscrape: generate scrape_timeout_seconds metric per each scrape target in the same way as Prometheus 2.30 does 2021-09-12 15:20:44 +03:00
scrapework_timing_test.go app/vmagent: follow-up after fe445f753b 2021-08-05 09:52:32 +03:00
statconn.go lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
targetstatus.go lib/promscrape: use a hash over target labels as a key for dropped targets' map 2022-04-20 15:37:00 +03:00
targetstatus.qtpl lib/promscrape: simply update UI (#2479) 2022-04-20 10:25:04 +02:00
targetstatus.qtpl.go lib/promscrape: simply update UI (#2479) 2022-04-20 10:25:04 +02:00