docs/vmagent.md: mention the minumum value for -remoteWrite.vmProtoCompressLevel

Recommend using the default value for -remoteWrite.vmProtoCompressLevel

This is a follow-up for 095d982976
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5575
This commit is contained in:
Aliaksandr Valialkin 2024-01-16 19:44:53 +02:00
parent 4073bb3303
commit db6495560c
No known key found for this signature in database
GPG Key ID: 52C003EE2BCDB9EB

View File

@ -271,7 +271,8 @@ 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`.
The default value for the compression level is `0`, the minimum value is `-22` and the maximum value is `22`. The default value works optimally
in most cases, so it isn't recommended changing it.
`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