@Test
void statMessage() {

    var stat = new StatMessage();
    stat.date = Instant.now();
    stat.stats = Map.of("thread_count", 10.0, "cpu_usage", 0.01);
    stat.info = Map.of("info", "text");
    String message = appender.message(stat);
    assertThat(message)
            .contains("| thread_count=10")
            .contains("| cpu_usage=0.01")
            .contains("| info=text");
}