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

            builder.Dispose();
        }
Beispiel #2
0
            public void Dispose()
            {
                builder.Dispose();

                tracer.CurrentContext = oldContext;
            }