Benjamin Lerer created CASSANDRA-17225:
------------------------------------------

             Summary: Add a virtual table for exposing batch metrics
                 Key: CASSANDRA-17225
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17225
             Project: Cassandra
          Issue Type: Improvement
          Components: Feature/Virtual Tables
            Reporter: Benjamin Lerer
            Assignee: Benjamin Lerer


There are some existing metrics within BatchMetrics that provide metrics about 
related to the different types of Batches being executed. 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 of virtual table implementation and to {{TableMetricTables}} for how 
Histogram metrics can be exposed. The new table will need to be registered in 
{{SystemViewsKeyspace}}.
Some unit tests should be added. For some example of virtual table tests you 
can look at {{SystemPropertiesTableTest}}.




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

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

Reply via email to