Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ newRand
Function
newRand
pkg/util/trace_info.go:422–424 ·
view source on GitHub ↗
(t time.Time)
Source
from the content-addressed store, hash-verified
420
}
421
422
func
newRand(t time.Time) *rand.Rand {
423
return
rand.New(rand.NewSource(t.UnixNano()))
// nolint:gosec // G404: Use of weak random number generator
424
}
Callers
3
NewTraceInfo
Function · 0.85
NewTraceInfoWithMaxLongWrites
Function · 0.85
RandomAttrFromTrace
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected