()
| 97 | } |
| 98 | |
| 99 | func (s *spanWrapper) Finish() { |
| 100 | s.Span.Finish() |
| 101 | pprof.SetGoroutineLabels(s.parentPprofCtx) |
| 102 | s.currentPprofCtx = s.parentPprofCtx |
| 103 | } |
| 104 | |
| 105 | // sampledSpanID returns the span ID, if the span is sampled, |
| 106 | // otherwise an empty string is returned. |
no outgoing calls