show metric information once every ten minutes only

This commit is contained in:
Carsten Otto
2021-12-30 14:25:12 +01:00
parent 2c648c12ce
commit 2c560c77ae

View File

@@ -24,6 +24,6 @@ public class MetricsConfiguration extends MetricsConfigurerAdapter {
.convertRatesTo(TimeUnit.SECONDS)
.convertDurationsTo(TimeUnit.MILLISECONDS)
.build();
registerReporter(reporter).start(1, TimeUnit.MINUTES);
registerReporter(reporter).start(10, TimeUnit.MINUTES);
}
}