Aliaksandr Valialkin
|
4b458370c1
|
lib/logstorage: work-in-progress
|
2024-05-24 03:06:55 +02:00 |
|
Aliaksandr Valialkin
|
fda60b3d4d
|
lib/promrelabel: properly parse regex with escaped $ at the end
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3131
Thanks to @dmitryk-dk for the initial fix at https://github.com/VictoriaMetrics/VictoriaMetrics/pull/3179
|
2022-09-30 08:15:43 +03:00 |
|
Aliaksandr Valialkin
|
0ad3bbadd3
|
lib/regexutil: add Simplify() function for simplifying the regular expression
|
2022-08-26 11:57:12 +03:00 |
|
Aliaksandr Valialkin
|
b373661988
|
lib/promrelabel: optimize action: {drop,keep,labeldrop,labelkeep} with anchored regex prefix
The following commonly used relabeling rules must work faster now:
- action: labeldrop
regex: "^foo.+$"
- action: labeldrop
regex: "^bar.*"
|
2022-08-25 23:23:55 +03:00 |
|
Aliaksandr Valialkin
|
0d4ea03a73
|
lib/promrelabel: optimize action: {labeldrop,labelkeep,keep,drop} with regex containing alternate values
For example, the following relabeling rule must work much faster now:
- action: labeldrop
regex: "foo|bar|baz"
|
2022-08-24 17:54:29 +03:00 |
|