예제 #1
0
        public ISpan StartNonActive()
        {
            ISpan innerSpan = _innerSpanBuilder.Start();
            ISpan span      = new AdvancedSpan(innerSpan, _traceContext, false);

            return(span);
        }
예제 #2
0
        public static void MakeActive(this ISpan span)
        {
            AdvancedSpan advancedSpan = span as AdvancedSpan;

            advancedSpan?.MakeActive();
        }