Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Documentation
-
Normal
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
While inspecting the metrics code, I realized that the metrics docs (at https://cassandra.apache.org/doc/latest/operating/metrics.html) has several errors, e.g.
1. JMX MBean names have incorrect format. They should be separated with commas, but the doc has space separated values. Cassandra users referring to this docs will not get it working.
2. The MBean name for Keyspace metrics is wrong. In the code, we have `keyspace=<Keyspace>`, instead of `scope=<Keyspace>`, which is listed in the docs page.
3. There are outdated fields. For instance, the `SyncTime` has been renamed to `RepairSyncTime` under the TableMetrics.
To avoid frustrating and confusing the users that refer to the metrics page, the docs need to be revised.