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

Function MakeSpanWithTimeWindow

pkg/util/test/req.go:40–42  ·  view source on GitHub ↗
(traceID []byte, startTime uint64, endTime uint64)

Source from the content-addressed store, hash-verified

38}
39
40func MakeSpanWithTimeWindow(traceID []byte, startTime uint64, endTime uint64) *v1_trace.Span {
41 return makeSpanWithAttributeCount(traceID, rand.Int()%10+1, startTime, endTime) // nolint:gosec // G404: Use of weak random number generator
42}
43
44// DedicatedBlobTestSize is the length of blob payloads for dedicated columns (see DedicatedBlobTestString).
45const DedicatedBlobTestSize = 1000

Callers 1

makeBatchWithTimeRangeFunction · 0.85

Calls 2

IntMethod · 0.80

Tested by

no test coverage detected