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

Function New

pkg/tracesizes/traceSizes.go:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func New() *Tracker {
27 return &Tracker{
28 hash: fnv.New64(),
29 sizes: make(map[uint64]*traceSize),
30 }
31}
32
33func (s *Tracker) token(traceID []byte) uint64 {
34 s.hash.Reset()

Callers 1

newInstanceFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected