@Override
  protected void before() throws Throwable {
    GlobalOpenTelemetry.resetForTest();
    GlobalOpenTelemetry.set(openTelemetry);
  }
Clears the collected exported {@link SpanData}.
hbase-server/src/test/java/org/apache/hadoop/hbase/trace/OpenTelemetryClassRule.java