docs: vmagent specify default value for the compression level and its maximum. The question appers too often in our channel (#5575)

Signed-off-by: Artem Navoiev <tenmozes@gmail.com>
(cherry picked from commit 095d982976)
This commit is contained in:
Artem Navoiev 2024-01-08 11:14:23 -08:00 committed by hagen1778
parent 37a76de800
commit 5f10055f67
No known key found for this signature in database
GPG key ID: 3BF75F3741CA9640

View file

@ -271,6 +271,7 @@ It is possible to force switch to VictoriaMetrics remote write protocol by speci
command-line flag for the corresponding `-remoteWrite.url`.
It is possible to tune the compression level for VictoriaMetrics remote write protocol with `-remoteWrite.vmProtoCompressLevel` command-line flag.
Bigger values reduce network usage at the cost of higher CPU usage. Negative values reduce CPU usage at the cost of higher network usage.
The default value for the compression level is `3`, and the maximum value is `22`.
`vmagent` automatically switches to Prometheus remote write protocol when it sends data to old versions of VictoriaMetrics components
or to other Prometheus-compatible remote storage systems. It is possible to force switch to Prometheus remote write protocol