diff --git a/pkg/distributor/shardstreams/config.go b/pkg/distributor/shardstreams/config.go index 90f1e65600a9b..1bf1f89f961c6 100644 --- a/pkg/distributor/shardstreams/config.go +++ b/pkg/distributor/shardstreams/config.go @@ -16,8 +16,8 @@ type Config struct { } func (cfg *Config) RegisterFlagsWithPrefix(prefix string, fs *flag.FlagSet) { - fs.BoolVar(&cfg.Enabled, prefix+".enabled", false, "Automatically shard streams to keep them under the per-stream rate limit") + fs.BoolVar(&cfg.Enabled, prefix+".enabled", true, "Automatically shard streams to keep them under the per-stream rate limit") fs.BoolVar(&cfg.LoggingEnabled, prefix+".logging-enabled", false, "Enable logging when sharding streams") - cfg.DesiredRate.Set("3mb") //nolint:errcheck - fs.Var(&cfg.DesiredRate, prefix+".desired-rate", "threshold used to cut a new shard. Default (3MB) means if a rate is above 3MB, it will be sharded.") + cfg.DesiredRate.Set("1536KB") //nolint:errcheck + fs.Var(&cfg.DesiredRate, prefix+".desired-rate", "threshold used to cut a new shard. Default (1536KB) means if a rate is above 1536KB/s, it will be sharded.") }