[
https://issues.apache.org/jira/browse/CASSANDRA-20499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ling Mao updated CASSANDRA-20499:
---------------------------------
Description:
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.
was:
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.
> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]