You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Isaac Reath (Jira)" <ji...@apache.org> on 2025/08/26 14:33:00 UTC

[jira] [Updated] (CASSANDRA-20864) Expose Prepared Statement Cache Size Metric (in bytes)

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

Isaac Reath updated CASSANDRA-20864:
------------------------------------
    Change Category: Operability
         Complexity: Low Hanging Fruit
             Status: Open  (was: Triage Needed)

> 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
>
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org