Versions in this module Expand all Collapse all v1 v1.0.1 Jun 10, 2024 v1.0.0 Jun 7, 2024 Changes in this version + const Enabled + func WithBlockType(ctx context.Context, blockType BlockType) context.Context + func WithLevel(ctx context.Context, level int) context.Context + func WithReason(ctx context.Context, reason Reason) context.Context + type BlockType uint8 + const DataBlock + const FilterBlock + const MetadataBlock + const UnknownBlock + const ValueBlock + type Event struct + BlockType BlockType + FileNum base.FileNum + HandleID uint64 + LevelPlusOne uint8 + Offset int64 + Op OpType + Reason Reason + Size int64 + StartUnixNano int64 + type OpType uint8 + const ReadOp + const RecordCacheHitOp + const SetupForCompactionOp + const WriteOp + type Reason uint8 + const ForCompaction + const ForFlush + const ForIngestion + const UnknownReason + type Tracer struct + func Open(fs vfs.FS, fsDir string) *Tracer + func (*Tracer) Close() + func (*Tracer) WrapReadable(ctx context.Context, r objstorage.Readable, fileNum base.DiskFileNum) objstorage.Readable + func (t *Tracer) WrapWritable(ctx context.Context, w objstorage.Writable, fileNum base.DiskFileNum) objstorage.Writable