class MetricCollectors {

  public static double totalMessageConsumption() {
    return collectorMap.values().stream()
        .mapToDouble(MetricCollector::totalMessageConsumption)
        .sum();
  }

}