Esempio n. 1
0
        public async Task <string> GetTest3()
        {
            using (Tracer.BuildSpan("GetTest2-ActiveSpan1-" + HttpContext.TraceIdentifier).StartActive(true))
            {
                Tracer.ActiveSpan.Log("Logged in controller");
                await ServiceA.GetServiceAMessageTest3Async(HttpContext.TraceIdentifier);
            }

            Tracer.ActiveSpan.Log("Outside the Span in DemoController");
            return("GetTest2");
        }