@Override
  public @NotNull CompletableResultCode export(@NotNull Collection<SpanData> spans) {
    for (SpanData span : spans) {
      collectedSpans.put(span.getSpanId(), span);
    }
    return CompletableResultCode.ofSuccess();
  }
@Override
  public @NotNull CompletableResultCode export(@NotNull Collection<SpanData> spans)