VictoriaMetrics/app/vmalert-tool/unittest
Hui Wang b09272ccac
app/vmalert: improve performances when rules produce large volumes of results
1. Avoid storing the last evaluation results outside of rules, check for
stale time series as soon as possible;
2. remove duplicated template `Clone()`.

This pull request is primarily reducing memory usage when rules produce
large volumes of results, as seen in
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6894.
The CPU time spent on garbage collection remains high and may be
addressed in a separate PR.
2024-11-14 12:23:39 +01:00
..
testdata vmalert-tool: add -external.label and -external.url command-line … (#6766) 2024-08-19 21:29:28 +02:00
alerting.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
input.go vmalert-tool: add more syntax checks for input_series and exp_samples (#7263) 2024-10-17 11:00:34 +02:00
input_test.go vmalert-tool: add more syntax checks for input_series and exp_samples (#7263) 2024-10-17 11:00:34 +02:00
recording.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
type.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
unittest.go vmalert-tool: set default interval for unittest input_series (#7392) 2024-10-31 14:04:50 +01:00
unittest_test.go vmalert-tool: add -external.label and -external.url command-line … (#6766) 2024-08-19 21:29:28 +02:00