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

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

            advancedSpan?.MakeActive();
        }