Skip to content

Commit 08aadb7

Browse files
authored
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]>
1 parent f75079b commit 08aadb7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/ops.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3256,6 +3256,36 @@ <h5 class="anchor-heading"><a id="kafka_streams_thread_monitoring" class="anchor
32563256
<td>The system timestamp in ms that the thread was started.</td>
32573257
<td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
32583258
</tr>
3259+
<tr>
3260+
<td>tasks-revoked-latency-avg</td>
3261+
<td>The average time in ms taken for tasks-revoked rebalance listener callback.</td>
3262+
<td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
3263+
</tr>
3264+
<tr>
3265+
<td>tasks-revoked-latency-max</td>
3266+
<td>The maximum time in ms taken for tasks-revoked rebalance listener callback.</td>
3267+
<td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
3268+
</tr>
3269+
<tr>
3270+
<td>tasks-assigned-latency-avg</td>
3271+
<td>The average time in ms taken for tasks-assigned rebalance listener callback.</td>
3272+
<td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
3273+
</tr>
3274+
<tr>
3275+
<td>tasks-assigned-latency-max</td>
3276+
<td>The maximum time in ms taken for tasks-assigned rebalance listener callback.</td>
3277+
<td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
3278+
</tr>
3279+
<tr>
3280+
<td>tasks-lost-latency-avg</td>
3281+
<td>The average time in ms taken for tasks-lost rebalance listener callback.</td>
3282+
<td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
3283+
</tr>
3284+
<tr>
3285+
<td>tasks-lost-latency-max</td>
3286+
<td>The maximum time in ms taken for tasks-lost rebalance listener callback.</td>
3287+
<td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+)</td>
3288+
</tr>
32593289
</tbody>
32603290
</table>
32613291

0 commit comments

Comments
 (0)