mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01:00
75c3514c5c
These actions simlify metrics filtering. For example, - action: keep_metrics regex: 'foo|bar|baz' would leave only metrics with `foo`, `bar` and `baz` names, while the rest of metrics will be deleted. The commit also makes possible to split long regexps into multiple lines. For example, the following config is equivalent to the config above: - action: keep_metrics regex: - foo - bar - baz |
||
---|---|---|
.. | ||
testdata | ||
config_test.go | ||
config.go | ||
relabel_test.go | ||
relabel_timing_test.go | ||
relabel.go | ||
sort_test.go | ||
sort.go |