[ 
https://issues.apache.org/jira/browse/CASSANDRA-20864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Isaac Reath updated CASSANDRA-20864:
------------------------------------
    Test and Documentation Plan: 
* Added unit tests for the new metrics.
 * PR contains updated documentation which describes the new metric. 
                         Status: Patch Available  (was: In Progress)

> 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
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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

Reply via email to