VictoriaMetrics/lib/promscrape/discovery
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
..
azure lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
consul lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
digitalocean lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
dns lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
docker lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
dockerswarm lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
ec2 lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
eureka lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
gce lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
http lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
kubernetes lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
openstack lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
yandexcloud lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00