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

Function makeTraceID

tempodb/compactor_test.go:882–887  ·  view source on GitHub ↗
(i int, j int)

Source from the content-addressed store, hash-verified

880}
881
882func makeTraceID(i int, j int) []byte {
883 id := make([]byte, 16)
884 binary.LittleEndian.PutUint64(id, uint64(i))
885 binary.LittleEndian.PutUint64(id[8:], uint64(j))
886 return id
887}
888
889func BenchmarkCompaction(b *testing.B) {
890 for _, enc := range encoding.AllEncodingsForWrites() {

Callers 2

cutTestBlocksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected