You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2025/06/02 19:00:00 UTC
[jira] [Updated] (CASSANDRA-20499) add metrics about apply, fileSize and throttle to hinted handoff
[ https://issues.apache.org/jira/browse/CASSANDRA-20499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxim Muzafarov updated CASSANDRA-20499:
----------------------------------------
Reviewers: Maxim Muzafarov, Stefan Miklosovic (was: Stefan Miklosovic)
> 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: 2h
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org