Skip to content

CASSANDRA-21321: add per-table RowsRead and RowsMutated counters#4755

Open
shiroonigami23-ui wants to merge 1 commit intoapache:trunkfrom
shiroonigami23-ui:CASSANDRA-21321-table-rows-throughput-metrics
Open

CASSANDRA-21321: add per-table RowsRead and RowsMutated counters#4755
shiroonigami23-ui wants to merge 1 commit intoapache:trunkfrom
shiroonigami23-ui:CASSANDRA-21321-table-rows-throughput-metrics

Conversation

@shiroonigami23-ui
Copy link
Copy Markdown

What is this

Adds per-table row throughput counters so operators can track rows read/mutated at table granularity.

JIRA

Changes

  • Added RowsRead and RowsMutated counters to TableMetrics.
  • Added RowsRead and RowsMutated keyspace-level counters derived from table metrics.
  • Wired read metric recording to increment table RowsRead in SelectStatement path.
  • Wired write metric recording to increment table RowsMutated from PartitionUpdate metadata in mutation paths.
  • Extended ClientRequestRowAndColumnMetricsTest with assertions for table-level row counters.

Testing

  • Unable to run unit tests in this environment because ant is not installed (ant: command not found on Windows shell).
  • Verified call sites and diffs for signature and metric wiring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant