public async Task <string> GetTest2() { using (Tracer.BuildSpan("GetTest2-ActiveSpan1-" + HttpContext.TraceIdentifier).StartActive(true)) { Tracer.ActiveSpan.Log("Logged in controller"); await ServiceA.GetServiceAMessageTest2Async(HttpContext.TraceIdentifier); } Tracer.ActiveSpan.Log("Outside the Span in DemoController"); return("GetTest2"); }