This is an automated email from the ASF dual-hosted git repository.

lucasbru pushed a commit to branch 4.2
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 6351bb433cb5901ddb042e788abfc20e3e7a0bc4
Author: Lucas Brutschy <[email protected]>
AuthorDate: Mon Dec 15 09:44:54 2025 +0100

    KAFKA-19987: Add metrics from KIP-1216 to ops.html (#21130)
    
    This commit adds the new thread-level rebalance listener callback
    metrics from KIP-1216 to the Streams Monitoring section in ops.html:
    
    - tasks-revoked-latency-avg and tasks-revoked-latency-max
    - tasks-assigned-latency-avg and tasks-assigned-latency-max
    - tasks-lost-latency-avg and tasks-lost-latency-max
    
    All metrics are at the INFO recording level and measure time in
    milliseconds.
    
    Reviewers: Matthias J. Sax <[email protected]>
---
 docs/ops.html | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/docs/ops.html b/docs/ops.html
index 2319ebe9631..31d75a5d074 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -3246,6 +3246,36 @@ All the following metrics have a recording level of 
<code>info</code>:
         <td>The system timestamp in ms that the thread was started.</td>
         <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
       </tr>
+      <tr>
+        <td>tasks-revoked-latency-avg</td>
+        <td>The average time in ms taken for tasks-revoked rebalance listener 
callback.</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>tasks-revoked-latency-max</td>
+        <td>The maximum time in ms taken for tasks-revoked rebalance listener 
callback.</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>tasks-assigned-latency-avg</td>
+        <td>The average time in ms taken for tasks-assigned rebalance listener 
callback.</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>tasks-assigned-latency-max</td>
+        <td>The maximum time in ms taken for tasks-assigned rebalance listener 
callback.</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>tasks-lost-latency-avg</td>
+        <td>The average time in ms taken for tasks-lost rebalance listener 
callback.</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>tasks-lost-latency-max</td>
+        <td>The maximum time in ms taken for tasks-lost rebalance listener 
callback.</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
+      </tr>
  </tbody>
 </table>
 

Reply via email to