This is an automated email from the ASF dual-hosted git repository.
lucasbru pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 08aadb73df3 KAFKA-19987: Add metrics from KIP-1216 to ops.html (#21130)
08aadb73df3 is described below
commit 08aadb73df3a7f01a82536fbb19aee1166616057
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 fca9a56933c..f05fb2cb740 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -3256,6 +3256,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>