VictoriaMetrics/lib/promrelabel
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
..
testdata lib/promrelabel: support action: graphite relabeling 2022-06-16 20:25:49 +03:00
config_test.go lib/promrelabel: optimize action: replace for non-trivial regex values 2022-09-30 12:28:25 +03:00
config.go lib/envtemplate: allow referring env vars from other env vars via %{ENV_VAR} syntax 2022-10-26 14:51:02 +03:00
graphite_test.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:25:49 +03:00
graphite_timing_test.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:25:49 +03:00
graphite.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:25:49 +03:00
if_expression_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
if_expression.go lib/promrelabel: optimize matching for commonly used regex patterns in if option 2022-08-26 14:55:13 +03:00
relabel_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
relabel_timing_test.go lib/promrelabel: remove unconditional sorting of the labels in ParsedConfigs.Apply(), since the sorting isnt needed in many places 2022-10-09 14:53:35 +03:00
relabel.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00