From a79edc7624391487348e64a5292b36094dcbd0ca Mon Sep 17 00:00:00 2001 From: Xiang Dai <764524258@qq.com> Date: Thu, 6 Feb 2020 19:44:38 +0800 Subject: [PATCH] Store: Document --chunk-pool-size better (#2057) Signed-off-by: Xiang Dai <764524258@qq.com> --- cmd/thanos/store.go | 2 +- docs/components/store.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/thanos/store.go b/cmd/thanos/store.go index ab36a505cc..bb2a547d68 100644 --- a/cmd/thanos/store.go +++ b/cmd/thanos/store.go @@ -50,7 +50,7 @@ func registerStore(m map[string]setupFunc, app *kingpin.Application) { "YAML file that contains index cache configuration. See format details: https://thanos.io/components/store.md/#index-cache", false) - chunkPoolSize := cmd.Flag("chunk-pool-size", "Maximum size of concurrently allocatable bytes for chunks."). + chunkPoolSize := cmd.Flag("chunk-pool-size", "Maximum size of concurrently allocatable bytes reserved strictly to reuse for chunks in memory."). Default("2GB").Bytes() maxSampleCount := cmd.Flag("store.grpc.series-sample-limit", diff --git a/docs/components/store.md b/docs/components/store.md index 9bc10648ea..3bda0a7351 100644 --- a/docs/components/store.md +++ b/docs/components/store.md @@ -83,7 +83,8 @@ Flags: details: https://thanos.io/components/store.md/#index-cache --chunk-pool-size=2GB Maximum size of concurrently allocatable bytes - for chunks. + reserved strictly to reuse for chunks in + memory. --store.grpc.series-sample-limit=0 Maximum amount of samples returned via a single Series call. 0 means no limit. NOTE: For