class GraphiteKeyUtil {

    public static Collection<String> extractGraphiteKeys(String target) {
        Collection<String> collection = new ArrayList<>();

        LOGGER.debug("Extracting keys from target: " + target);
        Matcher matcher = GRAPHITE_KEY_PATTERN.matcher(target);
        while (matcher.find()) {
            collection.add(matcher.group());
        }

        LOGGER.debug("Found " + collection.size() + " key(s): " + collection);
        return collection;
    }

    private  GraphiteKeyUtil();

}