Isaac Reath created CASSANDRA-20864: ---------------------------------------
Summary: Expose Prepared Statement Cache Size Metric (in bytes) Key: CASSANDRA-20864 URL: https://issues.apache.org/jira/browse/CASSANDRA-20864 Project: Apache Cassandra Issue Type: Improvement Components: Observability/Metrics Reporter: Isaac Reath Assignee: Isaac Reath Currently, Cassandra exposes the count of prepared statements through a metric, PreparedStatementsCount. However, the maximum cache size is configured in terms of bytes through the configuration prepared_statements_cache_size, creating a mismatch between the exposed metrics and the configuration units. This discrepancy makes it difficult for operators to anticipate when the cache is approaching its configured limit. The scope of this ticket is to add a new metric, PreparedStatementsCacheSize, which will expose the size of the cache in bytes to improve the observability of the size of the prepared statement cache. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org