VictoriaMetrics/app/vmalert/config
Hui Wang b0ed5b6174
app/vmalert: fixes reload of external templates
Previously after configuration reload call `externalURL` templaing function defined at external templates could be lost. Since it was added only at initial `Load` call and never copied during template reload process.
External templates for vmalert could be defined via `-rule.templates` flag.

 This commit properly reload external templates. It's no longer copies mutated templates and instead fully reloads it each time if there is any changes.
2024-12-13 10:29:19 +01:00
..
fslocal app/vmalert: add support of recursive path globs for rules and templates (#4148) 2023-04-26 19:20:22 +02:00
fsurl all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-25 21:24:03 +02:00
log app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
testdata app/vmalert: fix possible template overwritten between rule annotations 2024-12-10 14:59:40 +01:00
config.go vmalert: integrate with victorialogs (#7255) 2024-10-29 16:30:39 +01:00
config_test.go app/vmalert: fixes reload of external templates 2024-12-13 10:29:19 +01:00
fs.go vmalert-tool: support file path with hierarchical patterns and regexp… (#6501) 2024-06-18 14:14:30 +02:00
fs_test.go vmalert: support object storage for rules (#519) 2023-02-09 18:50:48 -08:00
types.go lib/logstorage: properly take into account the end query arg when calculating time range for _time:duration filters 2024-11-08 16:43:54 +01:00