smiklosovic commented on code in PR #4037:
URL: https://github.com/apache/cassandra/pull/4037#discussion_r2120633064


##########
src/java/org/apache/cassandra/metrics/HintsServiceMetrics.java:
##########
@@ -39,9 +44,17 @@ public final class HintsServiceMetrics
 
     private static final MetricNameFactory factory = new 
DefaultNameFactory(TYPE_NAME);
 
+    // About the delivery of hints
     public static final Meter hintsSucceeded = 
Metrics.meter(factory.createMetricName("HintsSucceeded"));
     public static final Meter hintsFailed    = 
Metrics.meter(factory.createMetricName("HintsFailed"));
     public static final Meter hintsTimedOut  = 
Metrics.meter(factory.createMetricName("HintsTimedOut"));
+    public static final Gauge<Long> hintsFileSize = 
Metrics.gauge(factory.createMetricName("HintsFileSize"), new 
TotalHintsSizeGauge());
+    // Corresponding to the hinted_handoff_throttle_in_kb configuration
+    public static final Counter hintsThrottle = 
Metrics.counter(factory.createMetricName("HintsThrottle"));

Review Comment:
   Comment is already there.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to