@Test
public void testMatchClusterHistogram() {

    Set<String> names = new HashSet<String>();
    names.add("shared.carts.rt");
    MetricNameSetFilter filter = new MetricNameSetFilter(names);
    MetricName mn = MetricName.build("shared.carts.rt.cluster_percentile");
    Assert.assertTrue(filter.matches(mn, null));
}