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

Add a virtual table for exposing batch metrics

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              burmanm Michael Burman
              blerer Benjamin Lerer
              Michael Burman
              Aleksei Zotov, Benjamin Lerer, Ekaterina Dimitrova
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 3h
                  3h