class TracezDataAggregator {

  Set<String> getSpanNames() {
    Set<String> spanNames = new TreeSet<>();
    Collection<ReadableSpan> allRunningSpans = spanProcessor.getRunningSpans();
    for (ReadableSpan span : allRunningSpans) {
      spanNames.add(span.getName());
    }
    spanNames.addAll(spanProcessor.getCompletedSpanCache().keySet());
    return spanNames;
  }

    TracezDataAggregator(TracezSpanProcessor spanProcessor);

}