From e91814e3326882741b0de3b346d639a33810aaa5 Mon Sep 17 00:00:00 2001 From: Artem Navoiev Date: Wed, 11 Jan 2023 00:16:10 +0200 Subject: [PATCH] vmagent: add minimal scrape file exampe for vmagent quick start (#3627) * vmagent: add minimal scrape file exampe for vmagent quick start Signed-off-by: Artem Navoiev * replace example with link to your prometheus.yml in docker Signed-off-by: Artem Navoiev Signed-off-by: Artem Navoiev --- app/vmagent/README.md | 2 ++ docs/vmagent.md | 2 ++ 2 files changed, 4 insertions(+) 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