/** * Search the metric store and return the collection of next available tags for the search query * @param query * @return Collection of tag values */ public Collection<TagValue> searchTags(MetricSearchQuery query) { return metricStore.findNextAvailableTags(query); }
/** * Search the metric store and return the collection of next available tags for the search query * @param query * @return Collection of tag values */ public Collection<TagValue> searchTags(MetricSearchQuery query) { return metricStore.findNextAvailableTags(query); }
public List<MetricTagValue> searchTags(List<String> tags) { // we want to search the entire range, so startTimestamp is '0' and end Timestamp is Integer.MAX_VALUE and // limit is -1 , to include the entire search result. MetricSearchQuery searchQuery = new MetricSearchQuery(0, Integer.MAX_VALUE, -1, toTagValues(humanToTagNames(parseTagValues(tags)))); return tagValuesToHuman(metricStore.findNextAvailableTags(searchQuery)); }
public List<MetricTagValue> searchTags(List<String> tags) { // we want to search the entire range, so startTimestamp is '0' and end Timestamp is Integer.MAX_VALUE and // limit is -1 , to include the entire search result. MetricSearchQuery searchQuery = new MetricSearchQuery(0, Integer.MAX_VALUE, -1, toTagValues(humanToTagNames(parseTagValues(tags)))); return tagValuesToHuman(metricStore.findNextAvailableTags(searchQuery)); }