Esempio n. 1
0
 public IScope WithSpan(ISpan span)
 {
     if (span == null)
     {
         throw new ArgumentNullException(nameof(span));
     }
     return(CurrentSpanUtils.WithSpan(span, false));
 }
 public IScope StartScopedSpan()
 {
     return(CurrentSpanUtils.WithSpan(StartSpan(), true));
 }
Esempio n. 3
0
 public IScope StartScopedSpan(out ISpan currentSpan)
 {
     currentSpan = this.StartSpan();
     return(CurrentSpanUtils.WithSpan(currentSpan, true));
 }