public JmxCollector register() {
        return register(PrometheusRegistry.defaultRegistry);
    }
@Test
    public void tabularDataCompositeKeyTest() throws Exception {
        JmxCollector jc = new JmxCollector("---").register(prometheusRegistry);
        assertEquals(
                1,
                getSampleValue(
                        "org_exist_management_exist_ProcessReport_RunningQueries_id",
                        new String[] {"key_id", "key_path"},
                        new String[] {"1", "/db/query1.xq"}),
                .001);
        assertEquals(
                2,
                getSampleValue(
                        "org_exist_management_exist_ProcessReport_RunningQueries_id",
                        new String[] {"key_id", "key_path"},
                        new String[] {"2", "/db/query2.xq"}),
                .001);
    }