You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dmitry Konstantinov (Jira)" <ji...@apache.org> on 2026/04/11 12:17:00 UTC
[jira] [Commented] (CASSANDRA-21300) Clarification about LiveScannedHistogram metric
[ https://issues.apache.org/jira/browse/CASSANDRA-21300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18072853#comment-18072853 ]
Dmitry Konstantinov commented on CASSANDRA-21300:
-------------------------------------------------
Hi [~pwalczak], thanks for highlighting the issue. I agree, the metric returns number of rows, not cells, in reality and the current doc creates a confusion.
> Clarification about LiveScannedHistogram metric
> -----------------------------------------------
>
> Key: CASSANDRA-21300
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21300
> Project: Apache Cassandra
> Issue Type: Improvement
> Reporter: Piotr Walczak
> Priority: Normal
>
> Hello team,
> I was browsing the documentation ([https://cassandra.apache.org/doc/trunk/cassandra/managing/operating/metrics.html]) around the metric LiveScannedHistogram (Histogram of live cells scanned in queries on this table.) - and looking at the source code - [https://github.com/apache/cassandra/blob/cassandra-4.1/src/java/org/apache/cassandra/db/ReadCommand.java#L546#L588] - the LiveScannedHistogram metric - returns the number of rows retrieved per read query- while documentation says it returns the number of cells which were scanned.
>
> Having that said - would you be able to confirm my understanding and if so - do you think we should update documentation?
> Thanks,
> Piotrek
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org