Exemplo n.º 1
0
        public void Dispose()
        {
            if (operationName != null && !CurrentSpan.Annotations.ContainsKey(WellKnownAnnotations.Common.Operation))
            {
                SetAnnotation(WellKnownAnnotations.Common.Operation, operationName);
            }

            builder.Dispose();
        }
Exemplo n.º 2
0
            public void Dispose()
            {
                builder.Dispose();

                tracer.CurrentContext = oldContext;
            }