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

Function MakeBatch

pkg/util/test/req.go:166–168  ·  view source on GitHub ↗
(spans int, traceID []byte)

Source from the content-addressed store, hash-verified

164}
165
166func MakeBatch(spans int, traceID []byte) *v1_trace.ResourceSpans {
167 return makeBatchWithTimeRange(spans, traceID, nil, nil)
168}
169
170func MakeBatchWithAttributes(spans int, traceID []byte, resAttributes []*v1_common.KeyValue) *v1_trace.ResourceSpans {
171 return makeBatchWithTimeRange(spans, traceID, nil, resAttributes)

Calls 1

makeBatchWithTimeRangeFunction · 0.85