PrepareForWrite takes a trace pointer and returns a record prepared for writing to an ingester
(trace *tempopb.Trace, start uint32, end uint32)
| 19 | type SegmentDecoder interface { |
| 20 | // PrepareForWrite takes a trace pointer and returns a record prepared for writing to an ingester |
| 21 | PrepareForWrite(trace *tempopb.Trace, start uint32, end uint32) ([]byte, error) |
| 22 | // PrepareForRead converts a set of segments created using PrepareForWrite. These segments |
| 23 | // are converted into a tempopb.Trace. This operation can be quite costly and should be called only for reading |
| 24 | PrepareForRead(segments [][]byte) (*tempopb.Trace, error) |
no outgoing calls