public List < MetricSchemaRecord > getMatchingRecords ( String namespaceRegex , String scopeRegex , String metricRegex , String tagKeyRegex , String tagValueRegex , int limit ) throws IOException , TokenExpiredException { StringBuilder urlBuilder = _buildBaseUrl ( namespaceRegex , scopeRegex , metricRegex , tagKeyRegex , tagValueRegex , limit ) ; String requestUrl = urlBuilder . toString ( ) ; ArgusResponse response = getClient ( ) . executeHttpRequest ( ArgusHttpClient . RequestType . GET , requestUrl , null ) ; assertValidResponse ( response , requestUrl ) ; return fromJson ( response . getResult ( ) , new TypeReference < List < MetricSchemaRecord > > ( ) { } ) ; }
Returns the schema records matching the specified criteria . At least one field matching expression must be supplied .