This is an automated email from the ASF dual-hosted git repository.
jolshan 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 b5d880a707e KAFKA-15330: Add missing documentation of metrics
introduced as part of KAFKA-15028 (#14480)
b5d880a707e is described below
commit b5d880a707e38dac47d69ccaa26e491592b2a82a
Author: Justine Olshan <[email protected]>
AuthorDate: Wed Oct 4 13:28:30 2023 -0700
KAFKA-15330: Add missing documentation of metrics introduced as part of
KAFKA-15028 (#14480)
I've added details for VerificationFailureRate and VerificationTimeMs.
I considered adding the documentation for the
AddPartitionsToTxnVerification metrics, but I noticed that all the request
metrics simply listed Produce|FetchConsumer|FetchFollower. If we don't already
report the AddPartitionsToTxn request metrics in this file, it doesn't make
sense to add the verification variant. (As well as all the other APIs we report)
Filed a followup jira if we want to redo that whole section.
Reviewers: Reviewers: Divij Vaidya <[email protected]>
---
docs/ops.html | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/docs/ops.html b/docs/ops.html
index 40082918d09..b6a30aa24ba 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -1789,6 +1789,16 @@ $ bin/kafka-acls.sh \
<td>kafka.server:type=transaction-coordinator-metrics,name=partition-load-time-avg</td>
<td>average time, in milliseconds, it took to load transaction
metadata from the consumer offset partitions loaded in the last 30 seconds
(including time spent waiting for the loading task to be scheduled)</td>
</tr>
+ <tr>
+ <td>Rate of transactional verification errors</td>
+
<td>kafka.server:type=AddPartitionsToTxnManager,name=VerificationFailureRate</td>
+ <td>Rate of verifications that returned in failure either from the
AddPartitionsToTxn API response or through errors in the
AddPartitionsToTxnManager. In steady state 0, but transient errors are expected
during rolls and reassignments of the transactional state partition.</td>
+ </tr>
+ <tr>
+ <td>Time to verify a transactional request</td>
+
<td>kafka.server:type=AddPartitionsToTxnManager,name=VerificationTimeMs</td>
+ <td>The amount of time queueing while a possible previous request is
in-flight plus the round trip to the transaction coordinator to verify (or not
verify)</td>
+ </tr>
<tr>
<td>Consumer Group Offset Count</td>
<td>kafka.server:type=GroupMetadataManager,name=NumOffsets</td>