VictoriaMetrics/app/vmalert/rule
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
..
alerting_test.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
alerting.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
group_test.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
group.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
recording_test.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
recording.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
rule_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
rule.go docs: update vmalert and vmagent docs (#6207) 2024-04-30 10:27:06 +02:00
test_helpers.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
utils_test.go docs: fixes misspelled typos 2024-09-13 12:14:24 +02:00
utils.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00