Use `shardstreams.Config` by value instead of by reference to fix docs generation.
Our `docs-generator` tool relies on the struct address/references to assume that flags are present. Using this config by value fixes it.
Enabledbool`yaml:"enabled" json:"enabled" doc:"description=Automatically shard streams to keep them under the per-stream rate limit. Sharding is dictated by the desired rate."`
LoggingEnabledbool`yaml:"logging_enabled" json:"logging_enabled" doc:"description=Whether to log sharding streams behavior or not. Not recommended for production environments."`
// DesiredRate is the threshold used to shard the stream into smaller pieces.
DesiredRateflagext.ByteSize`yaml:"desired_rate" json:"desired_rate" doc:"description=Threshold used to cut a new shard. Default (1536KB) means if a rate is above 1536KB/s, it will be sharded into two streams."`
f.IntVar(&l.VolumeMaxSeries,"limits.volume-max-series",1000,"The default number of aggregated series or labels that can be returned from a log-volume endpoint")