VictoriaMetrics/lib/promrelabel
Aliaksandr Valialkin 50f5eae0e0
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:51:16 +03:00
..
testdata lib/promrelabel: support action: graphite relabeling 2022-06-16 20:24:22 +03:00
config_test.go lib/promrelabel: optimize action: replace for non-trivial regex values 2022-09-30 12:25:05 +03:00
config.go lib/promrelabel: optimize action: replace for non-trivial regex values 2022-09-30 12:25:05 +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
graphite.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:24:22 +03:00
if_expression_test.go lib/promrelabel: export MustParseMetricWithLabels function, which can be used for simplifying tests 2022-10-01 16:05:51 +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
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:51:16 +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:51:16 +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:51:16 +03:00
sort_test.go app/vmagent: initial implementation for vmagent 2020-02-23 13:36:03 +02: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:51:16 +03:00
util.go lib/promrelabel: export MustParseMetricWithLabels function, which can be used for simplifying tests 2022-10-01 16:05:51 +03:00