From 10da9e6e01c108e726e869197f99fe016f715828 Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Fri, 3 Nov 2023 22:04:50 +0100 Subject: [PATCH] app/vmalert: fix typo in `remoteWrite.concurrency` description Signed-off-by: hagen1778 (cherry picked from commit c07dc457867a03a860e875b0e0a6db91a03e1fd8) --- app/vmalert/README.md | 2 +- app/vmalert/remotewrite/init.go | 2 +- docs/vmalert.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/vmalert/README.md b/app/vmalert/README.md index 0fa25d1fc6..79cd0e0d40 100644 --- a/app/vmalert/README.md +++ b/app/vmalert/README.md @@ -1232,7 +1232,7 @@ The shortlist of configuration flags is the following: -remoteWrite.bearerTokenFile string Optional path to bearer token file to use for -remoteWrite.url. -remoteWrite.concurrency int - Defines number of writers for concurrent writing into remote querier (default 1) + Defines number of writers for concurrent writing into remote write endpoint (default 1) -remoteWrite.disablePathAppend Whether to disable automatic appending of '/api/v1/write' path to the configured -remoteWrite.url. -remoteWrite.flushInterval duration diff --git a/app/vmalert/remotewrite/init.go b/app/vmalert/remotewrite/init.go index 6285c56ba1..7bc1f90d60 100644 --- a/app/vmalert/remotewrite/init.go +++ b/app/vmalert/remotewrite/init.go @@ -30,7 +30,7 @@ var ( maxQueueSize = flag.Int("remoteWrite.maxQueueSize", 1e5, "Defines the max number of pending datapoints to remote write endpoint") maxBatchSize = flag.Int("remoteWrite.maxBatchSize", 1e3, "Defines max number of timeseries to be flushed at once") - concurrency = flag.Int("remoteWrite.concurrency", 1, "Defines number of writers for concurrent writing into remote querier") + concurrency = flag.Int("remoteWrite.concurrency", 1, "Defines number of writers for concurrent writing into remote write endpoint") flushInterval = flag.Duration("remoteWrite.flushInterval", 5*time.Second, "Defines interval of flushes to remote write endpoint") tlsInsecureSkipVerify = flag.Bool("remoteWrite.tlsInsecureSkipVerify", false, "Whether to skip tls verification when connecting to -remoteWrite.url") diff --git a/docs/vmalert.md b/docs/vmalert.md index 7db44ddba9..afe4e9e40c 100644 --- a/docs/vmalert.md +++ b/docs/vmalert.md @@ -1243,7 +1243,7 @@ The shortlist of configuration flags is the following: -remoteWrite.bearerTokenFile string Optional path to bearer token file to use for -remoteWrite.url. -remoteWrite.concurrency int - Defines number of writers for concurrent writing into remote querier (default 1) + Defines number of writers for concurrent writing into remote write endpoint (default 1) -remoteWrite.disablePathAppend Whether to disable automatic appending of '/api/v1/write' path to the configured -remoteWrite.url. -remoteWrite.flushInterval duration