diff --git a/cmd/thanos/store.go b/cmd/thanos/store.go index 46e8c52031..81aadcd72d 100644 --- a/cmd/thanos/store.go +++ b/cmd/thanos/store.go @@ -91,7 +91,7 @@ func (sc *storeConfig) registerFlag(cmd extkingpin.FlagClause) { sc.grpcConfig = *sc.grpcConfig.registerFlag(cmd) sc.storeRateLimits.RegisterFlags(cmd) - cmd.Flag("data-dir", "Local data directory used for caching purposes (index-header, in-mem cache items and meta.jsons). If removed, no data will be lost, just store will have to rebuild the cache. NOTE: Putting raw blocks here will not cause the store to read them. For such use cases use Prometheus + sidecar. Ignored if -no-cache-index-header option is specified."). + cmd.Flag("data-dir", "Local data directory used for caching purposes (index-header, in-mem cache items and meta.jsons). If removed, no data will be lost, just store will have to rebuild the cache. NOTE: Putting raw blocks here will not cause the store to read them. For such use cases use Prometheus + sidecar. Ignored if --no-cache-index-header option is specified."). Default("./data").StringVar(&sc.dataDir) cmd.Flag("cache-index-header", "Cache TSDB index-headers on disk to reduce startup time. When set to true, Thanos Store will download index headers from remote object storage on startup and create a header file on disk. Use --data-dir to set the directory in which index headers will be downloaded."). diff --git a/docs/components/store.md b/docs/components/store.md index 64e1b0e05d..015d66e898 100644 --- a/docs/components/store.md +++ b/docs/components/store.md @@ -56,7 +56,7 @@ Flags: NOTE: Putting raw blocks here will not cause the store to read them. For such use cases use Prometheus + sidecar. Ignored if - -no-cache-index-header option is specified. + --no-cache-index-header option is specified. --grpc-address="0.0.0.0:10901" Listen ip:port address for gRPC endpoints (StoreAPI). Make sure this address is routable