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

Method Consume

tempodb/encoding/vparquet4/combiner.go:40–42  ·  view source on GitHub ↗

Consume the given trace and destructively combines its contents.

(tr *Trace)

Source from the content-addressed store, hash-verified

38
39// Consume the given trace and destructively combines its contents.
40func (c *Combiner) Consume(tr *Trace) (spanCount int) {
41 return c.ConsumeWithFinal(tr, false)
42}
43
44// ConsumeWithFinal consumes the trace, but allows for performance savings when
45// it is known that this is the last expected input trace. the spanCount returned

Callers 4

testCompactionRoundtripFunction · 0.95
testSameIDCompactionFunction · 0.95
TestCombinerFunction · 0.95

Calls 1

ConsumeWithFinalMethod · 0.95

Tested by 4

testCompactionRoundtripFunction · 0.76
testSameIDCompactionFunction · 0.76
TestCombinerFunction · 0.76