You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2024/03/07 23:07:27 UTC

(kafka) branch trunk updated: KAFKA-16325 Add missing producer metrics to documentatio (#15466)

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

chia7712 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 3f3cee1b21f KAFKA-16325 Add missing producer metrics to documentatio (#15466)
3f3cee1b21f is described below

commit 3f3cee1b21f71bcc3f478514bc996e6c9ef6ccaa
Author: Owen Leung <ow...@gmail.com>
AuthorDate: Fri Mar 8 07:07:21 2024 +0800

    KAFKA-16325 Add missing producer metrics to documentatio (#15466)
    
    Add `buffer-exhausted-rate`, `buffer-exhausted-total`, `bufferpool-wait-ratio` and `metadata-wait-time-ns-total`
    
    Reviewers: Chia-Ping Tsai <ch...@gmail.com>
---
 docs/ops.html | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/docs/ops.html b/docs/ops.html
index 92f67615557..9f49b5c1b21 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -2537,11 +2537,26 @@ These metrics are reported on both Controllers and Brokers in a KRaft Cluster
         <td>The total amount of buffer memory that is not being used (either unallocated or in the free list).</td>
         <td>kafka.producer:type=producer-metrics,client-id=([-.\w]+)</td>
       </tr>
+      <tr>
+        <td>buffer-exhausted-rate</td>
+        <td>The average per-second number of record sends that are dropped due to buffer exhaustion</td>
+        <td>kafka.producer:type=producer-metrics,client-id=([-.\w]+)</td>
+      </tr>
+      <tr>
+        <td>buffer-exhausted-total</td>
+        <td>The total number of record sends that are dropped due to buffer exhaustion</td>
+        <td>kafka.producer:type=producer-metrics,client-id=([-.\w]+)</td>
+      </tr>
       <tr>
         <td>bufferpool-wait-time</td>
         <td>The fraction of time an appender waits for space allocation.</td>
         <td>kafka.producer:type=producer-metrics,client-id=([-.\w]+)</td>
       </tr>
+      <tr>
+        <td>bufferpool-wait-ratio</td>
+        <td>The fraction of time an appender waits for space allocation.</td>
+        <td>kafka.producer:type=producer-metrics,client-id=([-.\w]+)</td>
+      </tr>
       <tr>
         <td>bufferpool-wait-time-total</td>
         <td><b>*Deprecated*</b> The total time an appender waits for space allocation in nanoseconds. Replacement is <code>bufferpool-wait-time-ns-total</code></td>
@@ -2582,7 +2597,11 @@ These metrics are reported on both Controllers and Brokers in a KRaft Cluster
         <td>The total time the Producer spent aborting transactions in nanoseconds (for EOS).</td>
         <td>kafka.producer:type=producer-metrics,client-id=([-.\w]+)</td>
       </tr>
-
+      <tr>
+        <td>metadata-wait-time-ns-total</td>
+        <td>the total time in nanoseconds that has spent waiting for metadata from the Kafka broker</td>
+        <td>kafka.producer:type=producer-metrics,client-id=([-.\w]+)</td>
+      </tr>
   </tbody></table>
 
   <h5 class="anchor-heading"><a id="producer_sender_monitoring" class="anchor-link"></a><a href="#producer_sender_monitoring">Producer Sender Metrics</a></h5>