You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue should be fixed in the commit fda60b3 . This commit will be included in the next release. In the mean time it is possible to build vmagent from this commit according to these instructions and verify whether it correctly handles regex ending with escaped $ in relabeling rules.
Describe the bug
Regression when vmagent loads a relabeling config it is failing to parse regex because it is incorrectly rewriting it.
To Reproduce
It appears to be any relabeling regex with an escaped
$
(so\$
) at the end of the regex string.For example
Expected behavior
The relabeling config will continue to work.
Logs
Version
The line returned when passing
--version
command line flag to the binary. For example:Used command-line flags
It appears to be this function
VictoriaMetrics/lib/regexutil/regexutil.go
Line 11 in e9a0b80
$
in the regex string or substrings.The text was updated successfully, but these errors were encountered: