VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin f325410c26
lib/promscrape: optimize service discovery speed
- Return meta-labels for the discovered targets via promutils.Labels
  instead of map[string]string. This improves the speed of generating
  meta-labels for discovered targets by up to 5x.

- Remove memory allocations in hot paths during ScrapeWork generation.
  The ScrapeWork contains scrape settings for a single discovered target.
  This improves the service discovery speed by up to 2x.
2022-11-29 21:26:00 -08:00
..
discovery lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
discoveryutils lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
testdata lib/promscrape: fix errors in test config 2022-02-08 19:56:37 +02:00
client.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
config.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
config_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
config_timing_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
scraper.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
scrapework.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
scrapework_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
scrapework_timing_test.go lib/promscrape: add exported_ prefix to metric names exported by scrape targets if they clash with automatically generated metrics 2022-11-28 18:37:09 -08: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: optimize service discovery speed 2022-11-29 21:26:00 -08:00
targetstatus.qtpl lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
targetstatus.qtpl.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00