docs: mention -dryRun flag next to config example in vmalert

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2024-09-09 11:34:52 +02:00
parent 0ed835026f
commit 7983ea4edb
No known key found for this signature in database
GPG key ID: 3BF75F3741CA9640

View file

@ -91,6 +91,8 @@ Then configure `vmalert` accordingly:
-external.label=replica=a # Multiple external labels may be set
```
> _To validate the syntax of configured rules simply run vmalert with `-rule` and `-dryRun` cmd-line flags._
Note there's a separate `-remoteWrite.url` command-line flag to allow writing results of
alerting/recording rules into a different storage than the initial data that's
queried. This allows using `vmalert` to aggregate data from a short-term,