diff --git a/src/main/java/org/apache/cassandra/metrics/ClientRequestMetrics.java b/src/main/java/org/apache/cassandra/metrics/ClientRequestMetrics.java index 8194a53..6fb8718 100644 --- a/src/main/java/org/apache/cassandra/metrics/ClientRequestMetrics.java +++ b/src/main/java/org/apache/cassandra/metrics/ClientRequestMetrics.java @@ -59,12 +59,13 @@ public class ClientRequestMetrics extends LatencyMetrics { public ClientRequestMetrics(String url, String scope) { super(url, "ClientRequest", scope); - timeouts = APIMetrics.newMeter(url + "/timeouts", + timeouts = APIMetrics.newMeter(url + "/timeouts_rates", factory.createMetricName("Timeouts"), "timeouts", TimeUnit.SECONDS); - unavailables = APIMetrics.newMeter(url + "/unavailables", + unavailables = APIMetrics.newMeter(url + "/unavailables_rates", factory.createMetricName("Unavailables"), "unavailables", TimeUnit.SECONDS); + } public void release() {