[
https://issues.apache.org/jira/browse/CASSANDRA-17229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471900#comment-17471900
]
Benjamin Lerer commented on CASSANDRA-17229:
--------------------------------------------
Sorry for the delay of my answer.
The metrics we should expose are explained
[here|https://cassandra.apache.org/doc/latest/cassandra/operating/metrics.html#streaming-metrics].
You can find them in the {{StreamingMetrics}} class.
> Add a Virtual table to expose Streaming metrics
> -----------------------------------------------
>
> Key: CASSANDRA-17229
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17229
> Project: Cassandra
> Issue Type: Improvement
> Components: Feature/Virtual Tables
> Reporter: Benjamin Lerer
> Assignee: Manish Ghildiyal
> Priority: Normal
> Labels: AdventCalendar2021, lhf
>
> The streaming metrics for the different nodes should be exposed 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#buildMetadata}} for how {{Timer}} metrics can be exposed.
> The new table will need to be registered in SystemViewsKeyspace.
> For the unit tests the easiest way is to add them at {{StreamingMetrics}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]