compactor

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2025 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	JobConcurrency  int            `yaml:"job_capacity"`
	JobPollInterval time.Duration  `yaml:"job_poll_interval"`
	SmallObjectSize int            `yaml:"small_object_size_bytes"`
	TempDir         string         `yaml:"temp_dir"`
	RequestTimeout  time.Duration  `yaml:"request_timeout"`
	MetricsExporter metrics.Config `yaml:"metrics_exporter"`
}

func (*Config) RegisterFlags

func (cfg *Config) RegisterFlags(f *flag.FlagSet)

type MetastoreClient added in v1.11.0

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

func New

func New(
	logger log.Logger,
	config Config,
	client MetastoreClient,
	storage objstore.Bucket,
	reg prometheus.Registerer,
	ruler metrics.Ruler,
	exporter metrics.Exporter,
) (*Worker, error)

func (*Worker) Service added in v1.11.0

func (w *Worker) Service() services.Service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL