assertTrue("Didn't find an expected metric to match "+metric, found);
}
assertEquals("Number of metrics is received is wrong", metrics.size(), count);
count = 0;
for (PhoenixMetricTag tag : record.tags()) {
count++;
// find the matching metric in the list
boolean found = false;
for (MetricsTag expected : tags) {
if (expected.name().equals(tag.name())) {