Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compactor ¶
type Compactor struct { services.Service DeleteRequestsHandler *deletion.DeleteRequestHandler // contains filtered or unexported fields }
func NewCompactor ¶
func NewCompactor(cfg Config, storageConfig storage.Config, schemaConfig loki_storage.SchemaConfig, limits retention.Limits, r prometheus.Registerer) (*Compactor, error)
func (*Compactor) CompactTable ¶
type Config ¶
type Config struct { WorkingDirectory string `yaml:"working_directory"` CompactionInterval time.Duration `yaml:"compaction_interval"` RetentionEnabled bool `yaml:"retention_enabled"` RetentionDeleteDelay time.Duration `yaml:"retention_delete_delay"` RetentionDeleteWorkCount int `yaml:"retention_delete_worker_count"` DeleteRequestCancelPeriod time.Duration `yaml:"delete_request_cancel_period"` MaxCompactionParallelism int `yaml:"max_compaction_parallelism"` }
func (*Config) IsDefaults ¶
func (*Config) RegisterFlags ¶
RegisterFlags registers flags.
Click to show internal directories.
Click to hide internal directories.