bbejeck commented on code in PR #18673:
URL: https://github.com/apache/kafka/pull/18673#discussion_r1962348788


##########
docs/ops.html:
##########
@@ -2888,6 +2898,21 @@ <h5 class="anchor-heading"><a 
id="kafka_streams_thread_monitoring" class="anchor
         <td>The total number of consumer poll calls.</td>
         <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
       </tr>
+      <tr>
+        <td>poll-records-avg</td>
+        <td>The average number of records polled from consumer within an 
iteration.</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>poll-records-max</td>
+        <td>The maximum number of records polled from consumer within an 
iteration.</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>process-ratio</td>
+        <td>The fraction of time the thread spent on processing active 
tasks</td>
+        
<td>kafka.consumer:type=consumer-coordinator-metrics,client-id=([-.\w]+)</td>

Review Comment:
   I think this should be `kafka.streams` and type `stream-thread-metrics`



##########
docs/ops.html:
##########
@@ -2898,6 +2923,21 @@ <h5 class="anchor-heading"><a 
id="kafka_streams_thread_monitoring" class="anchor
         <td>The total number of processed records.</td>
         <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
       </tr>
+      <tr>
+        <td>process-records-avg</td>
+        <td>The average number of records processed within an iteration (total 
count of processed records over total number of iterations).</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>process-records-max</td>
+        <td>The maximum number of records processed within an iteration.</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>punctuate-ratio</td>
+        <td>"The fraction of time the thread spends performing punctuating 
actions on active tasks"</td>

Review Comment:
   ```suggestion
           <td>The fraction of time the thread spends performing punctuating 
actions on active tasks</td>
   ```



-- 
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