public List < String > getMatchingRecordFields ( String namespaceRegex , String scopeRegex , String metricRegex , String tagKeyRegex , String tagValueRegex , FieldSelector type , int limit ) throws IOException , TokenExpiredException { StringBuilder urlBuilder = _buildBaseUrl ( namespaceRegex , scopeRegex , metricRegex , tagKeyRegex , tagValueRegex , limit ) ; urlBuilder . append ( "&type=" ) . append ( type . name ( ) . toLowerCase ( Locale . ENGLISH ) ) ; String requestUrl = urlBuilder . toString ( ) ; ArgusResponse response = getClient ( ) . executeHttpRequest ( ArgusHttpClient . RequestType . GET , requestUrl , null ) ; assertValidResponse ( response , requestUrl ) ; return fromJson ( response . getResult ( ) , new TypeReference < List < String > > ( ) { } ) ; }
Returns the schema record fields values matching the specified criteria . At least one field matching expression must be supplied .