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

Function encoderPoolPut

pkg/ingest/encoding.go:35–38  ·  view source on GitHub ↗
(req *tempopb.PushBytesRequest)

Source from the content-addressed store, hash-verified

33}
34
35func encoderPoolPut(req *tempopb.PushBytesRequest) {
36 resetPushBytesRequest(req)
37 encoderPool.Put(req)
38}
39
40func Encode(partitionID int32, tenantID string, req *tempopb.PushBytesRequest, maxSize int) ([]*kgo.Record, error) {
41 reqSize := req.Size()

Callers 2

EncodeFunction · 0.85

Calls 2

resetPushBytesRequestFunction · 0.85
PutMethod · 0.45

Tested by 1