hachikuji commented on code in PR #12679:
URL: https://github.com/apache/kafka/pull/12679#discussion_r979099689


##########
docs/ops.html:
##########
@@ -1815,6 +1815,194 @@ <h4 class="anchor-heading"><a id="remote_jmx" 
class="anchor-link"></a><a href="#
       </tr>
   </tbody></table>
 
+<h4 class="anchor-heading"><a id="kraft_monitoring" class="anchor-link"></a><a 
href="#kraft_monitoring">KRaft Monitoring Metrics</a></h4>
+The set of metrics that allow monitoring of the KRaft quorum and the metadata 
log
+<h5 class="anchor-heading"><a id="kraft_controller_monitoring" 
class="anchor-link"></a><a href="#kraft_controller_monitoring">KRaft Controller 
Monitoring Metrics</a></h5>
+<table class="data-table">
+  <tbody>
+  <tr>
+    <th>Metric/Attribute name</th>
+    <th>Description</th>
+    <th>Mbean name</th>
+  </tr>
+  <tr>
+    <td>Current State</td>
+    <td>The current state of this member; possible values are leader, 
candidate, voted, follower, unattached.</td>
+    <td>kafka.server:type=raft-metrics,name=current-state</td>

Review Comment:
   I think the raft metrics are reported on both the controller and broker. We 
could either duplicate them or use a separate section as you suggested offline. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to