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 GitHub
parent 7ce87ebcb2
commit 184a659c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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