code: public static SortedMap<String, Object> asMap() {
          SortedMap<String, Object> metrics = Maps.newTreeMap();
          METRICS_SOURCE.applyMetrics(metrics);
          return metrics;
      }
docs: Gets the metrics as a map whose keys are the metric name and whose values are the metric values.
  
  @return map