VictoriaMetrics/lib/promrelabel
Aliaksandr Valialkin 087393bcef
lib/promrelabel: remove unconditional sorting of the labels in ParsedConfigs.Apply(), since the sorting isnt needed in many places
Sort labels explicitly after calling the ParsedConfigs.Apply() when needed.

This reduces CPU usage when performing metric-level relabeling, where labels' sorting isn't needed.
2022-10-09 14:53:35 +03:00
..
testdata lib/promrelabel: support action: graphite relabeling 2022-06-16 20:25:49 +03:00
config.go lib/promrelabel: optimize action: replace for non-trivial regex values 2022-09-30 12:28:25 +03:00
config_test.go lib/promrelabel: optimize action: replace for non-trivial regex values 2022-09-30 12:28:25 +03:00
graphite.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:25:49 +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
if_expression.go lib/promrelabel: optimize matching for commonly used regex patterns in if option 2022-08-26 14:55:13 +03:00
if_expression_test.go lib/promrelabel: export MustParseMetricWithLabels function, which can be used for simplifying tests 2022-10-01 16:15:00 +03:00
relabel.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_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_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
sort.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
sort_test.go app/vmagent: initial implementation for vmagent 2020-02-23 17:31:54 +02:00
util.go lib/promrelabel: export MustParseMetricWithLabels function, which can be used for simplifying tests 2022-10-01 16:15:00 +03:00