package
2.5.0+incompatible
Repository: https://github.com/grafana/tempo.git
Documentation: pkg.go.dev

# Functions

CopyBlock copies a block from one backend to another.
No description provided by the author
No description provided by the author
NewAppender returns an appender.
NewBackendBlock returns a BackendBlock for the given backend.BlockMeta.
NewBufferedAppender returns an bufferedAppender.
NewBufferedAppender returns an bufferedAppender.
No description provided by the author
NewDataReader constructs a v2 DataReader that handles paged...reading.
NewDataWriter creates a paged page writer.
NewDedupingIterator returns a dedupingIterator.
NewIndexReader returns an index reader for a byte slice of marshalled ordered records.
NewIndexWriter returns an index writer that writes to the provided io.Writer.
NewIterator returns the most basic iterator.
NewMultiblockIterator Creates a new multiblock iterator.
No description provided by the author
NewPrefetchIterator Creates a new multiblock iterator.
NewRecordAppender returns an appender that stores records only.
No description provided by the author
NewStreamingBlock creates a ..
ParseFilename returns (blockID, tenant, version, encoding, dataEncoding, error).
ReplayWALAndGetRecords replays a WAL file that could contain either traces or searchdata.
SortRecords sorts a slice of record pointers.

# Constants

DataHeaderLength is the length in bytes for the data header.
30 MiB.
64bit checksum (xxhash).
No description provided by the author

# Variables

BytesBufferPool is a bytes buffer used for lines decompressed.
Gzip is the gnu zip compression pool.
Lz4_1M uses 1M buffer.
Lz4_256k uses 256k buffer.
Lz4_4M uses 4M buffer.
Lz4_64k is the l4z compression pool, with 64k buffer size.
Noop is the no compression pool.
S2 Pool.
Snappy is the snappy compression pool.
Zstd Pool.

# Structs

BackendBlock represents a block already in the backend.
bufferedAppender buffers objects into pages and builds a downsampled index.
No description provided by the author
v2Encoding.
GzipPool is a gun zip compression pool.
LZ4Pool is an pool...of lz4s...
NoopPool is for people who think compression is for the weak.
No description provided by the author
Record represents the location of an ID in an object file.
S2Pool is one s short of s3.
SnappyPool is a really cool looking pool.
No description provided by the author
ZstdPool is a zstd compression pool.

# Interfaces

Appender is capable of tracking objects and ids that are added to it.
No description provided by the author
DataReader returns a slice of pages in the encoding/v0 format referenced by the slice of *Records passed in.
DataWriter is used to write paged data to the backend.
DataWriterGeneric writes objects instead of byte slices.
IndexReader is used to abstract away the details of an index.
IndexWriter is used to write paged indexes.
ObjectReaderWriter represents a library of methods to read and write at the object level.
ReaderPool similar to WriterPool but for reading chunks.
RecordReaderWriter represents a library of methods to read and write records.
WriterPool is a pool of io.Writer This is used by every chunk to avoid unnecessary allocations.

# Type aliases

Records is a slice of *Record.