VictoriaMetrics/lib/promrelabel
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
..
testdata lib/promrelabel: support action: graphite relabeling 2022-06-16 20:24:22 +03:00
config.go lib/envtemplate: allow referring env vars from other env vars via %{ENV_VAR} syntax 2022-10-26 14:49:33 +03:00
config_test.go lib/promrelabel: optimize action: replace for non-trivial regex values 2022-09-30 12:25:05 +03:00
graphite.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:24:22 +03:00
graphite_test.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:24:22 +03:00
graphite_timing_test.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:24:22 +03:00
if_expression.go lib/promrelabel: optimize matching for commonly used regex patterns in if option 2022-08-26 14:53:06 +03:00
if_expression_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
relabel.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
relabel_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -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:51:16 +03:00