[ 
https://issues.apache.org/jira/browse/CASSANDRA-19486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19486:
------------------------------------------
    Description: 
I am happy to close this if somebody shows me how to get total size of all 
hints or all hints per particular node via JMX.

I could find StorageMetrics.totalHints but that is how many hints there are, 
not their sizes. We also have

org.apache.cassandra.metrics:type=HintedHandOffManager name=<MetricName>
org.apache.cassandra.metrics:type=HintsService name=<MetricName>

But that is again showing other metrics not sizes.

I would add two methods into HintsServiceMBean returning this. Seems to be very 
easy to do once we do CASSANDRA-19477.

  was:
I am happy to close this if somebody shows me how to get total size of all 
hints or all hints per particular node via JMX.

I could find StorageMetrics.totalHints but that is how many hints there are, 
not their sizes. We also have

org.apache.cassandra.metrics:type=HintedHandOffManager name=<MetricName>
org.apache.cassandra.metrics:type=HintsService name=<MetricName>

But that is again showing other metrics not sizes.

I would add two methods into HintsServiceMBeans returning this. Seems to be 
very easy to do once we do CASSANDRA-19477.


> Add method for sizes of hints and hints per node in HintsServiceMBean
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-19486
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19486
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Hints
>            Reporter: Stefan Miklosovic
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 5.x
>
>
> I am happy to close this if somebody shows me how to get total size of all 
> hints or all hints per particular node via JMX.
> I could find StorageMetrics.totalHints but that is how many hints there are, 
> not their sizes. We also have
> org.apache.cassandra.metrics:type=HintedHandOffManager name=<MetricName>
> org.apache.cassandra.metrics:type=HintsService name=<MetricName>
> But that is again showing other metrics not sizes.
> I would add two methods into HintsServiceMBean returning this. Seems to be 
> very easy to do once we do CASSANDRA-19477.



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