Interface MetricsService


public interface MetricsService
Retrieve test metrics from remote servers.
Author:
jerome
  • Field Details

  • Method Details

    • getMetrics

      MetricValues getMetrics(RestApiFactory apiFactory, String benchResultId) throws IOException
      Retrieves current test metrics from the server. The returned metrics are test-wide metrics.
      Parameters:
      apiFactory - rest retrofit
      benchResultId - bench result id
      Returns:
      global test metrics.
      Throws:
      IOException
    • toPrintable

      String toPrintable(org.joda.time.DateTime startTime, MetricValues metrics)
      Converts the metrics into a human readable line of values
      Parameters:
      startTime - test start time
      metrics - metrics to print
      Returns:
      printable output