@Override
    public boolean shouldEmitMetric(MetricKeyable metricKeyable) {
        return selector.test(metricKeyable);
    }
@Test
    public void testShouldEmitMetric() {
        Predicate<? super MetricKeyable> selector = ClientTelemetryUtils.getSelectorFromRequestedMetrics(
            Collections.singletonList("io.test.metric"));
        ClientTelemetryEmitter emitter = new ClientTelemetryEmitter(selector, true);

        assertTrue(emitter.shouldEmitMetric(new MetricKey("io.test.metric")));
        assertTrue(emitter.shouldEmitMetric(new MetricKey("io.test.metric1")));
        assertTrue(emitter.shouldEmitMetric(new MetricKey("io.test.metric.producer.bytes")));
        assertFalse(emitter.shouldEmitMetric(new MetricKey("io.test")));
        assertFalse(emitter.shouldEmitMetric(new MetricKey("org.io.test.metric")));
        assertTrue(emitter.shouldEmitDeltaMetrics());
    }