docs/{vmagent,vmalert}: mention that /-/reload endpoint may be protected with -reloadAuthKey command-line flag

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1172
This commit is contained in:
Aliaksandr Valialkin 2024-02-08 18:49:04 +02:00
parent 0d313dda8a
commit 9216d00a6c
No known key found for this signature in database
GPG Key ID: 52C003EE2BCDB9EB
2 changed files with 3 additions and 4 deletions

View File

@ -126,7 +126,7 @@ additionally to pull-based Prometheus-compatible targets' scraping:
kill -SIGHUP `pidof vmagent`
```
* Sending HTTP request to `http://vmagent:8429/-/reload` endpoint.
* Sending HTTP request to `http://vmagent:8429/-/reload` endpoint. This endpoint can be protected with `-reloadAuthKey` command-line flag.
There is also `-promscrape.configCheckInterval` command-line option, which can be used for automatic reloading configs from updated `-promscrape.config` file.

View File

@ -1420,9 +1420,8 @@ The shortlist of configuration flags is the following:
`vmalert` supports "hot" config reload via the following methods:
* send SIGHUP signal to `vmalert` process;
* send GET request to `/-/reload` endpoint;
* configure `-configCheckInterval` flag for periodic reload
on config change.
* send GET request to `/-/reload` endpoint (this endpoint can be protected with `-reloadAuthKey` command-line flag);
* configure `-configCheckInterval` flag for periodic reload on config change.
### URL params