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

Function newNode

pkg/drain/drain.go:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func newNode() *Node {
56 return &Node{
57 keyToChildNode: make(map[string]*Node),
58 clusterIDs: make([]int, 0),
59 }
60}
61
62func (d *Drain) Clusters() []*LogCluster {
63 return slices.Collect(d.idToCluster.Values())

Callers 3

NewFunction · 0.85
addClusterToRootNodeMethod · 0.85
addClusterToNodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected