VictoriaMetrics/app/vmalert/datasource
Hui Wang 282f13cf11
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 18:21:20 +01:00
..
testdata app/vmalert: update parsing for instant responses (#6859) 2024-08-22 23:56:11 +02:00
client.go vmalert: integrate with victorialogs (#7255) 2024-10-29 16:32:00 +01:00
client_graphite.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 18:21:20 +01:00
client_prom.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 18:21:20 +01:00
client_test.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 18:21:20 +01:00
client_vlogs.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 18:21:20 +01:00
datasource.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 18:21:20 +01:00
datasource_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:30:54 +03:00
faker.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
init.go docs/vmalert: clarify some vmalert flags 2024-11-14 18:21:14 +01:00
vm_prom_api_test.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 18:21:20 +01:00
vm_prom_api_timing_test.go app/vmalert: update parsing for instant responses (#6859) 2024-08-22 23:56:11 +02:00