@Test
public void testMetricname() {

    String name = NameUtils.toMetricName(new DefaultRegistry(Clock.SYSTEM).createId("name")
        .withTag("k", "v"));
    System.out.println(name);
    Assert.assertEquals("name.k-v", name);
}