VictoriaMetrics/app/vmalert/notifier
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: support specifying full http url in notifier static_configs target (#5261) 2023-11-01 19:53:50 +08:00
alert_test.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
alert.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
alertmanager_request.qtpl vmalert: do not send message to alertmanager when alert has no label … (#6823) 2024-09-09 13:34:48 +02:00
alertmanager_request.qtpl.go vmalert: do not send message to alertmanager when alert has no label … (#6823) 2024-09-09 13:34:48 +02:00
alertmanager_test.go vmalert: do not send message to alertmanager when alert has no label … (#6823) 2024-09-09 13:34:48 +02:00
alertmanager.go lib/httputils: parse URL before creating HTTP transport (#6820) 2024-08-16 11:32:04 +02:00
config_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
config_watcher_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
config_watcher.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-25 21:24:03 +02:00
config.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
faker.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
init_test.go vmalert: follow-up after d4ac4b7813 (#4659) 2023-07-18 15:53:37 +02:00
init.go vmalert: add command line flag -notifier.headers (#6751) 2024-08-19 21:40:57 +02:00
notifier_blackhole_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
notifier_blackhole.go vmalert: follow-up after d4ac4b7813 (#4659) 2023-07-18 15:53:37 +02:00
notifier.go vmalert: allow configuring custom notifier headers per group (#4088) 2023-04-27 12:17:26 +02:00
package_test.go added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00