Skip to content

Commit 24cd4e3

Browse files
committed
Switch to minutes
1 parent b2bee76 commit 24cd4e3

File tree

1 file changed

+1
-1
lines changed
  • stubbornjava-common/src/main/java/com/stubbornjava/common

1 file changed

+1
-1
lines changed

stubbornjava-common/src/main/java/com/stubbornjava/common/Metrics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class Metrics {
4848
final GraphiteHttpSender graphite = new GraphiteHttpSender(client, graphiteHost, grafanaApiKey);
4949
final GraphiteReporter reporter = GraphiteReporter.forRegistry(registry)
5050
.prefixedWith(metricPrefix("stubbornjava"))
51-
.convertRatesTo(TimeUnit.SECONDS)
51+
.convertRatesTo(TimeUnit.MINUTES)
5252
.convertDurationsTo(TimeUnit.MILLISECONDS)
5353
.filter(MetricFilter.ALL)
5454
.build(graphite);

0 commit comments

Comments
 (0)