Aliaksandr Valialkin
|
f49c9bb700
|
lib/promrelabel: optimize common regex mismatch cases for action: replace and action: labelmap
|
2022-08-26 15:45:31 +03:00 |
|
Aliaksandr Valialkin
|
4c6916f32a
|
lib/promrelabel: use regexutil.PromRegex for regex matching in actions labeldrop ,labelkeep ,drop and keep
This makes possible optimizing additional cases inside regexutil.PromRegex
|
2022-08-26 15:23:45 +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 |
|
Aliaksandr Valialkin
|
78f83dc5ad
|
app/{vmagent,vminsert}: follow-up after 2fe045e2a4
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1343
|
2021-06-04 20:27:58 +03:00 |
|
Aliaksandr Valialkin
|
f7049e2af7
|
lib/promrelabel: optimize labeldrop and labelkeep relabeling for prefix.* and prefix.+ regexps
|
2021-02-24 17:58:28 +02:00 |
|
Aliaksandr Valialkin
|
d136081040
|
lib/promrelabel: add more optimizations for relabeling for common cases
|
2021-02-22 16:33:55 +02:00 |
|
Aliaksandr Valialkin
|
dd1e53b119
|
lib/promrelabel: optimize relabeling performance for common cases
|
2021-02-22 00:51:13 +02:00 |
|
Aliaksandr Valialkin
|
04762344c6
|
app/vmagent: initial implementation for vmagent
|
2020-02-23 13:36:03 +02:00 |
|