public List<Metric> retrieveMetrics(String expression,
                                        String minInsertDate,
                                        String maxInsertDate,
                                        TagAppender tagAppender,
                                        Integer limit) {
        QueryPart<Metric> query = new Query<Metric>("metrics")
                .param("expression", expression)
                .param("minInsertDate", minInsertDate)
                .param("maxInsertDate", maxInsertDate)
                .param("limit", limit);
        if (tagAppender != null) {
            query = query.param("tags", tagAppender.getTags());
        }
        return httpClientManager.requestMetaDataList(Metric.class, query);
    }
public List < Metric > retrieveMetrics ( String expression , String minInsertDate , String maxInsertDate , TagAppender tagAppender , Integer limit ) { QueryPart < Metric > query = new Query < Metric > ( "metrics" ) . param ( "expression" , expression ) . param ( "minInsertDate" , minInsertDate ) . param ( "maxInsertDate" , maxInsertDate ) . param ( "limit" , limit ) ; if ( tagAppender != null ) { query = query . param ( "tags" , tagAppender . getTags ( ) ) ; } return httpClientManager . requestMetaDataList ( Metric . class , query ) ; }
@param expression    Specify EL expression.
@param minInsertDate Include metrics with lastInsertDate equal or greater than specified time.
Time can be specified in ISO format or using <a href="https://github.com/axibase/atsd-docs/blob/master/end-time-syntax.md">endtime</a> syntax.
@param maxInsertDate Include metrics with lastInsertDate less than specified time.
Time can be specified in ISO format or using <a href="https://github.com/axibase/atsd-docs/blob/master/end-time-syntax.md">endtime</a> syntax.
@param tagAppender   Specify metric tags to be included in the response. Specify * to include all metric tags.
@param limit         Limit response to first N metrics, ordered by name.
@return List of metrics.
@throws AtsdClientException raised  raised
@throws AtsdServerException raised  raised