VictoriaMetrics/lib/promscrape/discovery/eureka
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_test.go Adds eureka service discovery (#913) 2020-11-20 14:02:13 +02:00
api.go lib/promscrape: support for simple HTTP proxies without CONNECT method support such as https://github.com/prometheus-community/PushProx 2021-04-04 00:40:58 +03:00
eureka_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
eureka.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00