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

Function ValidSpanID

pkg/validation/validate.go:10–12  ·  view source on GitHub ↗
(id []byte)

Source from the content-addressed store, hash-verified

8}
9
10func ValidSpanID(id []byte) bool {
11 return len(id) == 8 && !bytes.Equal(id, []byte{0, 0, 0, 0, 0, 0, 0, 0})
12}
13
14// SmallestPositiveNonZeroIntPerTenant is returning the minimal positive and
15// non-zero value of the supplied limit function for all given tenants. In many

Callers 1

requestsByTraceIDFunction · 0.92

Calls 1

EqualMethod · 0.45

Tested by

no test coverage detected