VictoriaMetrics/lib/promscrape/discovery/openstack
Aliaksandr Valialkin be6da5053f
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:23 -08:00
..
api.go all: subsitute ioutil.ReadAll with io.ReadAll 2022-08-22 00:16:04 +03:00
auth_test.go app/{vminsert,vmagent}: hide passwords and auth tokens by default at /config page 2021-11-05 14:42:13 +02:00
auth.go app/{vminsert,vmagent}: hide passwords and auth tokens by default at /config page 2021-11-05 14:42:13 +02:00
hypervisor_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
hypervisor.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
instance_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
instance.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
openstack.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00