# Functions
DefaultGroupKey returns a unique identifier for the group the block belongs to, based on the DefaultGrouper logic.
GetJobsOrderFunction returns jobs ordering function, or nil, if name doesn't refer to any function.
No description provided by the author
NewBucketCompactor creates a new bucket compactor.
NewBucketCompactorMetrics makes a new BucketCompactorMetrics.
NewJob returns a new compaction Job.
NewLabelRemoverFilter creates a LabelRemoverFilter.
NewMetaSyncer returns a new Syncer for the given Bucket and directory.
NewMultitenantCompactor makes a new MultitenantCompactor.
NewNoCompactionMarkFilter creates NoCompactionMarkFilter.
NewShardAwareDeduplicateFilter creates ShardAwareDeduplicateFilter.
NewSplitAndMergeGrouper makes a new SplitAndMergeGrouper.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
BucketCompactor compacts blocks in a bucket.
BucketCompactorMetrics holds the metrics tracked by BucketCompactor.
No description provided by the author
Config holds the MultitenantCompactor config.
Job holds a compaction job, which consists of a group of blocks that should be compacted together.
No description provided by the author
MultitenantCompactor is a multi-tenant TSDB blocks compactor based on Thanos.
NoCompactionMarkFilter is a block.Fetcher filter that finds all blocks with no-compact marker files, and optionally removes them from synced metas.
RingConfig masks the ring lifecycler config which contains many options not really required by the compactors ring.
ShardAwareDeduplicateFilter is a MetaFetcher filter that filters out older blocks that have exactly the same data.
No description provided by the author
No description provided by the author
Syncer synchronizes block metas from a bucket into a local directory.
# Interfaces
Compactor provides compaction against an underlying storage of profiling data.
ConfigProvider defines the per-tenant config provider for the MultitenantCompactor.
No description provided by the author
Grouper is responsible to group all known blocks into compaction Job which are safe to be compacted concurrently.
Planner returns blocks to compact.
# Type aliases
BlocksCompactorFactory builds and returns the compactor and planner to use to compact a tenant's blocks.
BlocksGrouperFactory builds and returns the grouper to use to compact a tenant's blocks.
BlocksPlannerFactory builds and returns the compactor and planner to use to compact a tenant's blocks.
DurationList is the block ranges for a tsdb.
No description provided by the author