@Test
public void metersDebugEvents() {

    when(event.getLevel()).thenReturn(Level.DEBUG);
    appender.append(event);
    assertThat(registry.meter(METRIC_NAME_PREFIX + ".all").getCount())
            .isEqualTo(1);
    assertThat(registry.meter(METRIC_NAME_PREFIX + ".debug").getCount())
            .isEqualTo(1);
}