Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompactionBlockSelector ¶
CompactionBlockSelector is an interface for different algorithms to pick suitable blocks for compaction
type Compactor ¶
type Compactor interface {
EnableCompaction(cfg *CompactorConfig, sharder CompactorSharder)
}
type CompactorConfig ¶
type CompactorConfig struct { ChunkSizeBytes uint32 `yaml:"chunk_size_bytes"` // todo: do we need this? FlushSizeBytes uint32 `yaml:"flush_size_bytes"` MaxCompactionRange time.Duration `yaml:"compaction_window"` MaxCompactionObjects int `yaml:"max_compaction_objects"` BlockRetention time.Duration `yaml:"block_retention"` CompactedBlockRetention time.Duration `yaml:"compacted_block_retention"` }
type CompactorSharder ¶
type Config ¶
type Config struct { Backend string `yaml:"backend"` Local *local.Config `yaml:"local"` GCS *gcs.Config `yaml:"gcs"` S3 *s3.Config `yaml:"s3"` Pool *pool.Config `yaml:"pool,omitempty"` WAL *wal.Config `yaml:"wal"` Diskcache *diskcache.Config `yaml:"disk_cache"` Memcached *memcached.Config `yaml:"memcached"` BlocklistPoll time.Duration `yaml:"blocklist_poll"` }
type FindMetrics ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.