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

Lyuben Todorov commented on CASSANDRA-8880:
-------------------------------------------

Sounds reasonable, so we count the created tombstones, and range tombstones. I 
think we might need separate metrics to avoid confusion between the two 
meaning, or is it a fair assumption that tombstones and range tombstones should 
be counted together?

> 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