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

Function NewMetadataCombiner

pkg/traceql/combine.go:26–32  ·  view source on GitHub ↗
(limit int, keepMostRecent bool)

Source from the content-addressed store, hash-verified

24const TimestampNever = uint32(math.MaxUint32)
25
26func NewMetadataCombiner(limit int, keepMostRecent bool) MetadataCombiner {
27 if keepMostRecent {
28 return newMostRecentCombiner(limit)
29 }
30
31 return newAnyCombiner(limit)
32}
33
34type anyCombiner struct {
35 trs map[string]*tempopb.TraceSearchMetadata

Callers 4

NewSearchFunction · 0.92
SearchMethod · 0.92
ExecuteSearchMethod · 0.85

Calls 2

newMostRecentCombinerFunction · 0.85
newAnyCombinerFunction · 0.85

Tested by 1