public Span build() {
    return TraceUtil.getGlobalTracer().spanBuilder(name).setSpanKind(SpanKind.INTERNAL)
      .setAttribute("procId", procId).setAttribute("parentProcId", parentProcId).startSpan();
  }
Construct a {@link Span} instance for a {@link Procedure} execution.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/trace/ProcedureSpanBuilder.java