You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2022/01/18 19:34:00 UTC

[jira] [Updated] (CASSANDRA-17224) Add a virtual table for exposing prepared statements metrics

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

Ekaterina Dimitrova updated CASSANDRA-17224:
--------------------------------------------
    Fix Version/s: 4.x

> Add a virtual table for exposing prepared statements metrics
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-17224
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17224
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Feature/Virtual Tables, Observability/Metrics
>            Reporter: Benjamin Lerer
>            Assignee: Shailaja Koppu
>            Priority: Normal
>              Labels: AdventCalendar2021, lhf
>             Fix For: 4.x
>
>
> There are some existing metrics within {{CQLMetrics}} that provide metrics about prepared statements. We should expose those through a virtual table.
> +Additional information for newcomers:+
> A new class should be created for representing the new Virtual Table in {{org.apache.cassandra.db.virtual}}. You can look at {{ThreadPoolsTable}} for an example.
> The new table will need to be registered in {{SystemViewsKeyspace}}.
> Some unit tests will need to be added. For some example of virtual table tests you can look at {{SystemPropertiesTableTest}} and for some example of test around prepared statement metrics you can look into {{CQLMetricsTest}}.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org