Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17224

Add a virtual table for exposing prepared statements metrics

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            skoppu Shailaja Koppu
            blerer Benjamin Lerer
            Shailaja Koppu
            Ekaterina Dimitrova, Francisco Guerrero, Yifan Cai
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10h 40m
                10h 40m