private void BtnLoad_Click(object sender, RoutedEventArgs e) { //todo clear current var spanLoader = MyFactory.GetMySpanLoader(); var myRecords = spanLoader.GetMyRecords(); var endPoint = @"http://*****:*****@"=> report: {0} with trace-span: {1}-{2}", tempSpan.Span.OpName, tempSpan.Span.TraceId, tempSpan.Span.SpanId); //report to collector span.Finish(tempSpan.Span.StopTime); } } }