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

Method doRetention

tempodb/retention.go:35–37  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

33}
34
35func (rw *readerWriter) doRetention(ctx context.Context) {
36 rw.RetainWithConfig(ctx, rw.compactorCfg, rw.compactorSharder, rw.compactorOverrides)
37}
38
39func (rw *readerWriter) RetainWithConfig(ctx context.Context, compactorCfg *CompactorConfig, compactorSharder CompactorSharder, compactorOverrides CompactorOverrides) {
40 tenants := rw.blocklist.Tenants()

Callers 5

retentionLoopMethod · 0.95
TestRetentionFunction · 0.80

Calls 1

RetainWithConfigMethod · 0.95