MCPcopy
hub / github.com/grafana/tempo / CompactWithConfig

Method CompactWithConfig

tempodb/tempodb.go:121–121  ·  view source on GitHub ↗
(ctx context.Context, metas []*backend.BlockMeta, tenantID string, cfg *CompactorConfig, sharder CompactorSharder, overrides CompactorOverrides)

Source from the content-addressed store, hash-verified

119 EnableCompaction(ctx context.Context, cfg *CompactorConfig, sharder CompactorSharder, overrides CompactorOverrides) error
120 MarkBlockCompacted(tenantID string, blockID backend.UUID) error
121 CompactWithConfig(ctx context.Context, metas []*backend.BlockMeta, tenantID string, cfg *CompactorConfig, sharder CompactorSharder, overrides CompactorOverrides) ([]*backend.BlockMeta, error)
122 MarkBlocklistCompacted(tenantID string, outputIDs, inputIDs []*backend.BlockMeta) error
123 RetainWithConfig(ctx context.Context, cfg *CompactorConfig, sharder CompactorSharder, overrides CompactorOverrides)
124 RetainTenantWithConfig(ctx context.Context, tenantID string, cfg *CompactorConfig, sharder CompactorSharder, overrides CompactorOverrides)

Callers 4

testCompactWithConfigFunction · 0.65
testRetainWithConfigFunction · 0.65
compactMethod · 0.65

Calls

no outgoing calls

Tested by 3

testCompactWithConfigFunction · 0.52
testRetainWithConfigFunction · 0.52