Ling Mao created CASSANDRA-20499: ------------------------------------ Summary: add metrics about apply, fileSize and throttle to hinted handoff Key: CASSANDRA-20499 URL: https://issues.apache.org/jira/browse/CASSANDRA-20499 Project: Apache Cassandra Issue Type: Improvement Components: Observability/Metrics Reporter: Ling Mao
Although Cassandra already exposes metrics related to hinted handoff, this PR enhances observability by introducing additional metrics to provide deeper insights into its behavior. This PR introduces the following new metrics: {code:java} The total size (in bytes) of hint files stored on the current node. max(cassandra_hintsservice_hintsfilesize) by (instance) A counter tracking the number of hints being replayed by the current node. max(cassandra_hintsservice_hintsapplysucceeded_count) by (instance) max(cassandra_hintsservice_hintsapplyfailed_count) by (instance) The current node's hint handoff throttle consumption and how close it is to reaching the throttle limit(hinted_handoff_throttle_in_kb). rate(cassandra_hintsservice_hintsthrottle_count{instance=~"$instance"}[1m]) / 1024 {code} A Grafana preview is included in the JIRA ticket. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org