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

Method Put

tempodb/encoding/vparquet3/compactor.go:303–311  ·  view source on GitHub ↗
(row parquet.Row)

Source from the content-addressed store, hash-verified

301}
302
303func (r *rowPool) Put(row parquet.Row) {
304 // Clear before putting into the pool.
305 // This is important so that pool entries don't hang
306 // onto the underlying buffers.
307 for i := range row {
308 row[i] = parquet.Value{}
309 }
310 r.pool.Put(row[:0]) //nolint:all //SA6002
311}
312
313// estimateProtoSizeFromParquetRow estimates the byte-length of the corresponding
314// trace in tempopb.Trace format. This method is unreasonably effective.

Callers 7

NextMethod · 0.45
putSpanFunction · 0.45
putSpansetFunction · 0.45
CompactMethod · 0.45
BenchmarkDeconstructFunction · 0.45
IteratorMethod · 0.45
CreateBlockFunction · 0.45

Calls

no outgoing calls

Tested by 1

BenchmarkDeconstructFunction · 0.36