docs/guides/multi-regional-setup-dedicated-regions.md: clarify wording on vmagent configuration

This commit is contained in:
Aliaksandr Valialkin 2022-05-04 18:49:56 +03:00
parent 4e4ca1b6db
commit 242856ce97
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -26,15 +26,15 @@ Using this schema, you can achieve:
### How to write the data to Ground Control regions ### How to write the data to Ground Control regions
* You need to specify two remote write URLs in vmagent configuration * You need to pass two `-remoteWrite.url` command-line options to `vmagent`:
```bash ```bash
/vmagent-prod /path/to/vmagent-prod \
-remoteWrite.url=<ground-control-1-remote-write> -remoteWrite.url=<ground-control-1-remote-write> \
-remoteWrite.url=<ground-control-2-remote-write> -remoteWrite.url=<ground-control-2-remote-write>
``` ```
* If you use the Pull model for data collection, please specify -promscrape.config parameter as well * If you scrape data from Prometheus-compatible targets, then please specify `-promscrape.config` parameter as well.
Here is a Quickstart guide for [vmagent](https://docs.victoriametrics.com/vmagent.html#quick-start) Here is a Quickstart guide for [vmagent](https://docs.victoriametrics.com/vmagent.html#quick-start)