Polls client.getTrace(traceId) until the trace has at least minSpans spans. NotFoundError from the service counts as "not there yet". Throws TimeoutError when the budget runs out.
client.getTrace(traceId)
minSpans
NotFoundError
TimeoutError
Polls
client.getTrace(traceId)until the trace has at leastminSpansspans.NotFoundErrorfrom the service counts as "not there yet". ThrowsTimeoutErrorwhen the budget runs out.