f.DurationVar(&cfg.TailMaxDuration,"querier.tail-max-duration",1*time.Hour,"Maximum duration for which the live tailing requests should be served.")
f.DurationVar(&cfg.TailMaxDuration,"querier.tail-max-duration",1*time.Hour,"Maximum duration for which the live tailing requests are served.")
f.DurationVar(&cfg.ExtraQueryDelay,"querier.extra-query-delay",0,"Time to wait before sending more than the minimum successful query requests.")
f.DurationVar(&cfg.QueryIngestersWithin,"querier.query-ingesters-within",3*time.Hour,"Maximum lookback beyond which queries are not sent to ingester. 0 means all queries are sent to ingester.")
f.IntVar(&cfg.MaxConcurrent,"querier.max-concurrent",10,"The maximum number of concurrent queries allowed.")
f.StringVar(&cfg.ShardingStrategy,"ruler.sharding-strategy",util.ShardingStrategyDefault,fmt.Sprintf("The sharding strategy to use. Supported values are: %s.",strings.Join(supportedShardingStrategies,", ")))
f.DurationVar(&cfg.FlushCheckPeriod,"ruler.flush-period",1*time.Minute,"Period with which to attempt to flush rule groups.")
f.StringVar(&cfg.RulePath,"ruler.rule-path","/rules","File path to store temporary rule files.")
f.BoolVar(&cfg.EnableAPI,"experimental.ruler.enable-api",false,"Enable the ruler api.")
f.BoolVar(&cfg.EnableAPI,"experimental.ruler.enable-api",false,"Enable the ruler API.")
f.DurationVar(&cfg.OutageTolerance,"ruler.for-outage-tolerance",time.Hour,`Max time to tolerate outage for restoring "for" state of alert.`)
f.DurationVar(&cfg.ForGracePeriod,"ruler.for-grace-period",10*time.Minute,`Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than the grace period.`)
f.DurationVar(&cfg.ResendDelay,"ruler.resend-delay",time.Minute,`Minimum amount of time to wait before resending an alert to Alertmanager.`)