public List<SpanData> getSpans() {
    return spanExporter.getFinishedSpanItems();
  }
Returns all the exported {@link SpanData} so far.
hbase-server/src/test/java/org/apache/hadoop/hbase/trace/OpenTelemetryClassRule.java