From 5f10055f67979d8014dd321915716b81756f7aa6 Mon Sep 17 00:00:00 2001 From: Artem Navoiev Date: Mon, 8 Jan 2024 11:14:23 -0800 Subject: [PATCH] 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 (cherry picked from commit 095d982976e51cd188cbf46f5d57056895c0d7ff) --- docs/vmagent.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/vmagent.md b/docs/vmagent.md index d54e49099..de47f0d95 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -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