[ https://issues.apache.org/jira/browse/CASSANDRA-20499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-20499: ------------------------------------------ Change Category: Operability Complexity: Normal Fix Version/s: 5.x (was: 5.0.x) Reviewers: Stefan Miklosovic Status: Open (was: Triage Needed) > 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 > Assignee: Ling Mao > Priority: Normal > Fix For: 5.x > > Attachments: metric-hinted-handoff.jpg > > Time Spent: 40m > Remaining Estimate: 0h > > 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} > 1. The total size (in bytes) of hint files stored on the current node. > max(cassandra_hintsservice_hintsfilesize) by (instance) > 2. 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) > 3. 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