Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ generateTraceID
Function
generateTraceID
pkg/ingest/testkafka/client.go:92–97 ·
view source on GitHub ↗
(t testing.TB)
Source
from the content-addressed store, hash-verified
90
}
91
92
func
generateTraceID(t testing.TB) []byte {
93
traceID := make([]byte, 16)
94
_, err := rand.Read(traceID)
95
require.NoError(t, err)
96
return
traceID
97
}
Callers
1
SendReqWithOpts
Function · 0.70
Calls
1
Read
Method · 0.65
Tested by
no test coverage detected