public JmxCollector register() {
        return register(PrometheusRegistry.defaultRegistry);
    }
@Test
    public void testDelayedStartReady() throws Exception {
        // TODO register calls the collector, which is in start delay seconds, need to understand
        // how to handle
        JmxCollector jc = new JmxCollector("---\nstartDelaySeconds: 1");
        Thread.sleep(2000);
        jc.register(prometheusRegistry);
        assertEquals(
                1.0, getSampleValue("boolean_Test_True", new String[] {}, new String[] {}), .001);
    }