VictoriaMetrics/lib/promscrape/discovery/docker
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 lib/promscrape/discovery/docker: support host networking mode 2021-09-13 13:30:55 +03:00
api_test.go Support Docker ServiceDiscovery (#1402) 2021-06-25 13:22:16 +03:00
container.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
container_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
docker.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
network.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
network_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00