diff --git a/app/vmagent/README.md b/app/vmagent/README.md index da5c857553..f8c33ec5ee 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -60,6 +60,8 @@ Example command line: /path/to/vmagent -promscrape.config=/path/to/prometheus.yml -remoteWrite.url=https://victoria-metrics-host:8428/api/v1/write ``` +Example of scrape configuration for `-promscrape.config` argument you can find [here](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/deployment/docker/prometheus.yml) + See [how to scrape Prometheus-compatible targets](#how-to-collect-metrics-in-prometheus-format) for more details. If you use single-node VictoriaMetrics, then you can discover and scrape Prometheus-compatible targets directly from VictoriaMetrics diff --git a/docs/vmagent.md b/docs/vmagent.md index fbd61c471a..b55541c569 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -64,6 +64,8 @@ Example command line: /path/to/vmagent -promscrape.config=/path/to/prometheus.yml -remoteWrite.url=https://victoria-metrics-host:8428/api/v1/write ``` +Example of scrape configuration for `-promscrape.config` argument you can find [here](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/deployment/docker/prometheus.yml) + See [how to scrape Prometheus-compatible targets](#how-to-collect-metrics-in-prometheus-format) for more details. If you use single-node VictoriaMetrics, then you can discover and scrape Prometheus-compatible targets directly from VictoriaMetrics