public void Dispose() { if (operationName != null && !CurrentSpan.Annotations.ContainsKey(WellKnownAnnotations.Common.Operation)) { SetAnnotation(WellKnownAnnotations.Common.Operation, operationName); } builder.Dispose(); }
public void Dispose() { builder.Dispose(); tracer.CurrentContext = oldContext; }