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

Chris Lohfink commented on CASSANDRA-8880:
------------------------------------------

Could just count the number of range tombstones in the columnFamily and 
increment that. Can change metric to "writtenTombstones" which would meet 
expectations a little more.

> Add metrics to monitor the amount of tombstones created
> -------------------------------------------------------
>
>                 Key: CASSANDRA-8880
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8880
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Michaël Figuière
>            Priority: Minor
>              Labels: metrics
>             Fix For: 2.1.4
>
>         Attachments: cassandra-2.1-8880.patch
>
>
> AFAIK there's currently no way to monitor the amount of tombstones created on 
> a Cassandra node. CASSANDRA-6057 has made it possible for users to figure out 
> how many tombstones are scanned at read time, but in write mostly workloads, 
> it may not be possible to realize if some inappropriate queries are 
> generating too many tombstones.
> Therefore the following additional metrics should be added:
> * {{writtenCells}}: amount of cells that have been written
> * {{writtenTombstoneCells}}: amount of tombstone cells that have been written
> Alternatively these could be exposed as a single gauge such as 
> {{writtenTombstoneCellsRatio}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to