f.StringVar(&cfg.WorkingDirectory,"boltdb.shipper.compactor.working-directory","","Directory where files can be downloaded for compaction.")
f.StringVar(&cfg.SharedStoreType,"boltdb.shipper.compactor.shared-store","","Shared store used for storing boltdb files. Supported types: gcs, s3, azure, swift, filesystem")
f.StringVar(&cfg.SharedStoreKeyPrefix,"boltdb.shipper.compactor.shared-store.key-prefix","index/","Prefix to add to Object Keys in Shared store. Path separator(if any) should always be a '/'. Prefix should never start with a separator but should always end with it.")
f.DurationVar(&cfg.CompactionInterval,"boltdb.shipper.compactor.compaction-interval",2*time.Hour,"Interval at which to re-run the compaction operation.")
f.StringVar(&cfg.ActiveIndexDirectory,"boltdb.shipper.active-index-directory","","Directory where ingesters would write boltdb files which would then be uploaded by shipper to configured storage")
f.StringVar(&cfg.SharedStoreType,"boltdb.shipper.shared-store","","Shared store for keeping boltdb files. Supported types: gcs, s3, azure, filesystem")
f.StringVar(&cfg.SharedStoreKeyPrefix,"boltdb.shipper.shared-store.key-prefix","index/","Prefix to add to Object Keys in Shared store. Path separator(if any) should always be a '/'. Prefix should never start with a separator but should always end with it")
f.StringVar(&cfg.CacheLocation,"boltdb.shipper.cache-location","","Cache location for restoring boltDB files for queries")
f.DurationVar(&cfg.CacheTTL,"boltdb.shipper.cache-ttl",24*time.Hour,"TTL for boltDB files restored in cache for queries")
f.DurationVar(&cfg.ResyncInterval,"boltdb.shipper.resync-interval",5*time.Minute,"Resync downloaded files with the storage")
f.IntVar(&cfg.QueryReadyNumDays,"boltdb.shipper.query-ready-num-days",0,"Number of days of index to be kept downloaded for queries. Works only with tables created with 24h period.")