add possibility to preallocate checkpoints
kamilsk opened this issue · comments
Kamil Samigullin commented
call := tracer.Fetch(ctx).With(make([]Checkpoint, 0, 10)).Start()
defer call.Stop()
...
call.Checkpoint()
...
call.Checkpoint("id", "labelX", "labelY")
...