traceScope.addTimelineAnnotation("Call got exception: " + e.toString());
Thread.sleep(10); TraceScope gchild = tracer.newScope("HBaseSpanReceiver.main.grandchild"); gchild.addTimelineAnnotation("annotation 1."); Thread.sleep(10); gchild.addTimelineAnnotation("annotation 2."); gchild.close(); Thread.sleep(10);
traceScope.addTimelineAnnotation("Call got exception: " + e.toString());