Doco vmagent fix (#1014)

* Update section with remote_write.url for clustered version

* fix typo

Co-authored-by: mancubus <dont@write.me>
This commit is contained in:
mancubus77 2021-01-13 22:50:37 +11:00 committed by Aliaksandr Valialkin
parent d23d6d4bfa
commit 6f3560d256

View File

@ -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 format. Therefore for clustered version `remote_write` should be configured as `<schema>://<vminsert-host>:8480/insert/<customer-id>/prometheus/api/v1/write`
### How to collect metrics in Prometheus format