prometheus/model/relabel
Bryan Boreham 2d4c367d87 relabel: stricter check that target labels are valid
For `Lowercase`, `KeepEqual`, etc., we do not expand a regexp, so
the target label name must not contain anything like `${1}`.

Also for the common case that the `Replace` target does not require any
template expansion, check that the entire string passes label name
validity rules.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-18 14:58:59 +00:00
..
relabel.go relabel: stricter check that target labels are valid 2023-12-18 14:58:59 +00:00
relabel_test.go relabel: refactor: extract config.Validate method 2023-12-18 14:54:55 +00:00