You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Lohfink (JIRA)" <ji...@apache.org> on 2014/06/17 05:39:02 UTC

[jira] [Comment Edited] (CASSANDRA-7273) expose global ColumnFamily metrics

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

Chris Lohfink edited comment on CASSANDRA-7273 at 6/17/14 3:38 AM:
-------------------------------------------------------------------

I attached an attempt at this for 2.1 branch.  Copies most of the CF metrics into a GlobalColumnFamily (when using ColumnFamily i thought it looked funny in jconsole, but can do it that way instead easily enough) bean and adds latency and some histograms to the Keyspace metrics.  Also: 
* tried to automate some of the releasing of metrics since seems error prone (WaitingOnFreeMemtableSpace was missing). 
* renamed MemtableHeapSize since there were 2 metrics with that name

If this approach is acceptable I can try to port back to 1.2 and 2.0.


was (Author: cnlwsu):
I attached an attempt at this for 2.1 branch.  Copies most of the CF metrics into a GlobalColumnFamily bean and adds latency and some histograms to the Keyspace metrics.  Also: 
* tried to automate some of the releasing of metrics since seems error prone (WaitingOnFreeMemtableSpace was missing). 
* renamed MemtableHeapSize since there were 2 metrics with that name

If this approach is acceptable I can try to port back to 1.2 and 2.0.

> expose global ColumnFamily metrics
> ----------------------------------
>
>                 Key: CASSANDRA-7273
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7273
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Richard Wagner
>            Assignee: Brandon Williams
>            Priority: Minor
>              Labels: lhf
>             Fix For: 1.2.17
>
>         Attachments: 7273-2_1_branch-v1.txt
>
>
> It would be very useful to have cassandra expose ColumnFamily metrics that span all column families. A general purpose cassandra monitoring system built up around the current ColumnFamily metrics really only has a couple of choices right now: publish metrics for all column families or fetch metrics for all column families, aggregate them and then publish the aggregated metrics. The first can be quite expensive for the downstream monitoring system and the second is a piece of work that it seems is better pushed into cassandra itself.
> Perhaps these global ColumnFamily metrics could be published under a name of:
> org.apache.cassandra.metrics:type=(ColumnFamily|IndexColumnFamily),name=(Metric name)
> (Same as existing ColumnFamily metrics, but with no keyspace or scope.)



--
This message was sent by Atlassian JIRA
(v6.2#6252)