From 75f7c51cab7eca86dace9bbfcd72a6790f6343d9 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 13 Jan 2021 13:53:14 +0200 Subject: [PATCH] docs/vmagent.md: follow-up for 184a659c5f4909eafed675e4ae2b8e8efbb5a698 --- app/vmagent/README.md | 4 ++++ docs/vmagent.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/vmagent/README.md b/app/vmagent/README.md index 804168b9c..0c5eb9e58 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -131,6 +131,10 @@ The `vmagent` can be configured to encrypt the incoming `remote_write` requests Additionally, Basic Auth can be enabled for the incoming `remote_write` requests with `-httpAuth.*` command-line flags. +#### remote_write for clustered version + +Despite `vmagent` can accept data in several supported protocols (OpenTSDB, Influx, Prometheus, Graphite) and scrape data from various targets, writes always peformed in Promethes remote_write protocol. Therefore for clustered version `-remoteWrite.url` command-line flag should be configured as `://:8480/insert//prometheus/api/v1/write` + ### How to collect metrics in Prometheus format diff --git a/docs/vmagent.md b/docs/vmagent.md index b469b8bb7..0c5eb9e58 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -133,7 +133,7 @@ Additionally, Basic Auth can be enabled for the incoming `remote_write` requests #### remote_write for clustered version -Despite `vmagent` can accept data in several supported protocols (OpenTSDB, Influx, Prometheus, Graphite) and scrape data from various targets, writes always peformed in promethes format. Therefore for clustered version `remote_write` should be configured as `://:8480/insert//prometheus/api/v1/write` +Despite `vmagent` can accept data in several supported protocols (OpenTSDB, Influx, Prometheus, Graphite) and scrape data from various targets, writes always peformed in Promethes remote_write protocol. Therefore for clustered version `-remoteWrite.url` command-line flag should be configured as `://:8480/insert//prometheus/api/v1/write` ### How to collect metrics in Prometheus format