code: public List<String> suggestMetrics(final String search,
        final int max_results) {
      return metrics.suggest(search, max_results);
    }
docs: Given a prefix search, returns matching metric names.
  @param search A prefix to search.
  @param max_results Maximum number of results to return.
  @since 2.0