[ 
https://issues.apache.org/jira/browse/CASSANDRA-20499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939714#comment-17939714
 ] 

Stefan Miklosovic commented on CASSANDRA-20499:
-----------------------------------------------

I have identified these improvements for which I create a PR against 
[~maoling]'s PR.

https://github.com/maoling/cassandra/pull/1

[~maoling] if you are OK with this and incorporate these changes, we might try 
to introduce another committer to this ticket who needs to take a look as well. 

> 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.0.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

Reply via email to