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