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

Method Consume

pkg/model/trace/combine.go:46–48  ·  view source on GitHub ↗

Consume the given trace and destructively combines its contents.

(tr *tempopb.Trace)

Source from the content-addressed store, hash-verified

44
45// Consume the given trace and destructively combines its contents.
46func (c *Combiner) Consume(tr *tempopb.Trace) (int, error) {
47 return c.ConsumeWithFinal(tr, false)
48}
49
50// ConsumeWithFinal consumes the trace, but allows for performance savings when
51// it is known that this is the last expected input trace.

Callers 8

NewTraceByIDV2Function · 0.95
FindTraceByIDMethod · 0.95
TestCombineProtoTotalsFunction · 0.95
TestCombinerParallelFunction · 0.95
AddResponseMethod · 0.45
FindByTraceIDMethod · 0.45

Calls 1

ConsumeWithFinalMethod · 0.95

Tested by 4

TestCombineProtoTotalsFunction · 0.76
TestCombinerParallelFunction · 0.76