public void addResult(long time, Span span) {
      stats.addValue(TimeUnit.MILLISECONDS.convert(time, TimeUnit.NANOSECONDS));
      if (TimeUnit.SECONDS.convert(time, TimeUnit.NANOSECONDS) >= 1) {
        traces.add(span.getSpanContext().getTraceId());
      }
    }
Add a result to this aggregate result.
@param time Time in nanoseconds
@param span Span. To be kept if the time taken was over 1 second
hbase-it/src/test/java/org/apache/hadoop/hbase/mttr/IntegrationTestMTTR.java