Skip to content

CASSANDRA-21320: add rows mutated per write request histogram#4756

Open
shiroonigami23-ui wants to merge 1 commit intoapache:trunkfrom
shiroonigami23-ui:CASSANDRA-21320-rows-mutated-per-write-histogram
Open

CASSANDRA-21320: add rows mutated per write request histogram#4756
shiroonigami23-ui wants to merge 1 commit intoapache:trunkfrom
shiroonigami23-ui:CASSANDRA-21320-rows-mutated-per-write-histogram

Conversation

@shiroonigami23-ui
Copy link
Copy Markdown

What is this

Implements a table-level histogram for write request size in rows.

JIRA

Changes

  • Added RowsMutatedPerWriteHistogram to TableMetrics.
  • Added matching keyspace histogram RowsMutatedPerWriteHistogram in KeyspaceMetrics.
  • Updated write request metric recording to update this histogram once per write request per table.
    • For multi-mutation requests (e.g., batches), rows are aggregated per table and recorded once.
    • For single PartitionUpdate, one histogram update is recorded for that request.
  • Extended ClientRequestRowAndColumnMetricsTest with assertions for the new table histogram.

Testing

  • Unable to run unit tests in this environment because ant is not installed (ant: command not found on Windows shell).
  • Verified changed call paths and metric wiring via code inspection and diff checks.

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