Skip to content

Commit

Permalink
Store: Document --chunk-pool-size better
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Dai <[email protected]>
  • Loading branch information
daixiang0 committed Feb 3, 2020
1 parent f0a00ce commit 677f94b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/thanos/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,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",
Expand Down
3 changes: 2 additions & 1 deletion docs/components/store.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,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
Expand Down

0 comments on commit 677f94b

Please sign in to comment.