VictoriaMetrics/app/vmalert-tool/unittest
Hui Wang b09272ccac
Some checks are pending
build / Build (push) Waiting to run
CodeQL Go / Analyze (push) Waiting to run
main / lint (push) Waiting to run
main / test (test-full) (push) Blocked by required conditions
main / test (test-full-386) (push) Blocked by required conditions
main / test (test-pure) (push) Blocked by required conditions
publish-docs / Build (push) Waiting to run
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
input_test.go vmalert-tool: add more syntax checks for input_series and exp_samples (#7263) 2024-10-17 11:00:34 +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
recording.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
type.go
unittest_test.go vmalert-tool: add -external.label and -external.url command-line … (#6766) 2024-08-19 21:29:28 +02:00
unittest.go vmalert-tool: set default interval for unittest input_series (#7392) 2024-10-31 14:04:50 +01:00