From aef31f201a85e993dcae448a52927868f0fad9ea Mon Sep 17 00:00:00 2001 From: Alexander Marshalov <_@marshalov.org> Date: Thu, 3 Aug 2023 14:25:11 +0200 Subject: [PATCH] add info about `remoteWrite.sendTimeout` default value (#4776) Signed-off-by: Alexander Marshalov <_@marshalov.org> --- app/vmagent/README.md | 2 +- app/vmagent/remotewrite/client.go | 2 +- docs/vmagent.md | 2 +- docs/vmauth.md | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/vmagent/README.md b/app/vmagent/README.md index 4009082050..775efe3525 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -1571,7 +1571,7 @@ See the docs at https://docs.victoriametrics.com/vmagent.html . Round metric values to this number of decimal digits after the point before writing them to remote storage. Examples: -remoteWrite.roundDigits=2 would round 1.236 to 1.24, while -remoteWrite.roundDigits=-1 would round 126.78 to 130. By default, digits rounding is disabled. Set it to 100 for disabling it for a particular remote storage. This option may be used for improving data compression for the stored metrics Supports array of values separated by comma or specified via multiple flags. -remoteWrite.sendTimeout array - Timeout for sending a single block of data to the corresponding -remoteWrite.url + Timeout for sending a single block of data to the corresponding -remoteWrite.url (default 1m) Supports array of values separated by comma or specified via multiple flags. -remoteWrite.shardByURL Whether to shard outgoing series across all the remote storage systems enumerated via -remoteWrite.url . By default the data is replicated across all the -remoteWrite.url . See https://docs.victoriametrics.com/vmagent.html#sharding-among-remote-storages diff --git a/app/vmagent/remotewrite/client.go b/app/vmagent/remotewrite/client.go index 36add0c3f6..6340da4635 100644 --- a/app/vmagent/remotewrite/client.go +++ b/app/vmagent/remotewrite/client.go @@ -29,7 +29,7 @@ var ( rateLimit = flagutil.NewArrayInt("remoteWrite.rateLimit", "Optional rate limit in bytes per second for data sent to the corresponding -remoteWrite.url. "+ "By default, the rate limit is disabled. It can be useful for limiting load on remote storage when big amounts of buffered data "+ "is sent after temporary unavailability of the remote storage") - sendTimeout = flagutil.NewArrayDuration("remoteWrite.sendTimeout", "Timeout for sending a single block of data to the corresponding -remoteWrite.url") + sendTimeout = flagutil.NewArrayDuration("remoteWrite.sendTimeout", "Timeout for sending a single block of data to the corresponding -remoteWrite.url (default 1m)") proxyURL = flagutil.NewArrayString("remoteWrite.proxyURL", "Optional proxy URL for writing data to the corresponding -remoteWrite.url. "+ "Supported proxies: http, https, socks5. Example: -remoteWrite.proxyURL=socks5://proxy:1234") diff --git a/docs/vmagent.md b/docs/vmagent.md index 585ada0195..41d14d650b 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -1582,7 +1582,7 @@ See the docs at https://docs.victoriametrics.com/vmagent.html . Round metric values to this number of decimal digits after the point before writing them to remote storage. Examples: -remoteWrite.roundDigits=2 would round 1.236 to 1.24, while -remoteWrite.roundDigits=-1 would round 126.78 to 130. By default, digits rounding is disabled. Set it to 100 for disabling it for a particular remote storage. This option may be used for improving data compression for the stored metrics Supports array of values separated by comma or specified via multiple flags. -remoteWrite.sendTimeout array - Timeout for sending a single block of data to the corresponding -remoteWrite.url + Timeout for sending a single block of data to the corresponding -remoteWrite.url (default 1m) Supports array of values separated by comma or specified via multiple flags. -remoteWrite.shardByURL Whether to shard outgoing series across all the remote storage systems enumerated via -remoteWrite.url . By default the data is replicated across all the -remoteWrite.url . See https://docs.victoriametrics.com/vmagent.html#sharding-among-remote-storages diff --git a/docs/vmauth.md b/docs/vmauth.md index c7965aedb1..cf198945fd 100644 --- a/docs/vmauth.md +++ b/docs/vmauth.md @@ -362,6 +362,8 @@ See the docs at https://docs.victoriametrics.com/vmauth.html . Prefix for environment variables if -envflag.enable is set -eula By specifying this flag, you confirm that you have an enterprise license and accept the EULA https://victoriametrics.com/assets/VM_EULA.pdf . This flag is available only in VictoriaMetrics enterprise. See https://docs.victoriametrics.com/enterprise.html + -failTimeout duration + Sets a delay period for load balancing to skip a malfunctioning backend. (defaults 3s) -flagsAuthKey string Auth key for /flags endpoint. It must be passed via authKey query arg. It overrides httpAuth.* settings -fs.disableMmap