Ejemplo n.º 1
0
        internal void EndRequest(object sender, EventArgs e)
        {
            ISpan span = ContextInstanceManager.Get <ISpan>();

            if (span == null)
            {
                return;
            }
            // End the span and annotate it with information from the current response.
            span.AnnotateSpan(Labels.FromHttpResponse(HttpContext.Current.Response));
            span.Dispose();
        }