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

Function idsToString

modules/blockbuilder/partition_writer.go:154–166  ·  view source on GitHub ↗
(ids [][]byte)

Source from the content-addressed store, hash-verified

152}
153
154func idsToString(ids [][]byte) string {
155 b := strings.Builder{}
156 b.WriteString("[")
157 for i, id := range ids {
158 if i > 0 {
159 b.WriteString(", ")
160 }
161 b.WriteString(util.TraceIDToHexString(id))
162 }
163 b.WriteString("]")
164
165 return b.String()
166}

Callers 1

pushBytesMethod · 0.85

Calls 2

TraceIDToHexStringFunction · 0.92
StringMethod · 0.45

Tested by

no test coverage detected