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

Method NewCompactor

tempodb/encoding/versioned.go:28–28  ·  view source on GitHub ↗

NewCompactor creates a Compactor that can be used to combine blocks of this encoding. It is expected to use internal details for efficiency.

(common.CompactionOptions)

Source from the content-addressed store, hash-verified

26 // NewCompactor creates a Compactor that can be used to combine blocks of this
27 // encoding. It is expected to use internal details for efficiency.
28 NewCompactor(common.CompactionOptions) common.Compactor
29
30 // Feature detection methods:
31 CompactionSupported() bool // Whether these blocks should be compacted, if false the compactor will ignore these.

Callers 4

CompactWithConfigMethod · 0.65
RedactBlockMethod · 0.65
rewriteBlockFunction · 0.65

Implementers 4

Encodingtempodb/encoding/vparquet4/encoding.go
Encodingtempodb/encoding/vparquet5/encoding.go
Encodingtempodb/encoding/vparquet3/encoding.go
Encodingtempodb/encoding/unsupported/encoding.

Calls

no outgoing calls

Tested by 1