public static <T extends Throwable> void trace(final ThrowingRunnable<T> runnable,
    final String spanName) throws T {
    trace(runnable, () -> createSpan(spanName));
  }
Trace the execution of {@code runnable}.
hbase-common/src/main/java/org/apache/hadoop/hbase/trace/TraceUtil.java