You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by di...@apache.org on 2025/01/30 11:19:07 UTC

(kafka) 01/02: KAFKA-18570: Update documentation to add remainingLogsToRecover, remainingSegmentsToRecover and LogDirectoryOffline metrics (#18731)

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

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

commit 244be63ddb2942e8d932700a822765eeaa19c0b6
Author: Mehari Beyene <13...@users.noreply.github.com>
AuthorDate: Thu Jan 30 02:52:35 2025 -0800

    KAFKA-18570: Update documentation to add remainingLogsToRecover, remainingSegmentsToRecover and LogDirectoryOffline metrics (#18731)
    
    Reviewers: Divij Vaidya <di...@amazon.com>
---
 docs/ops.html | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/docs/ops.html b/docs/ops.html
index 89ce3f3954c..babc8ace357 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -1770,6 +1770,21 @@ NodeId	DirectoryId           	LogEndOffset	Lag	LastFetchTimestamp	LastCaughtUpTi
         <td>kafka.log:type=Log,name=LogEndOffset,topic=([-.\w]+),partition=([0-9]+)</td>
         <td>The last offset in a partition.</td>
       </tr>
+      <tr>
+        <td>Remaining logs to recover</td>
+        <td>kafka.log:type=LogManager,name=remainingLogsToRecover</td>
+        <td>The number of remaining logs for each log.dir to be recovered.This metric provides an overview of the recovery progress for a given log directory.</td>
+      </tr>
+      <tr>
+        <td>Remaining segments to recover for the current recovery thread</td>
+        <td>kafka.log:type=LogManager,name=remainingSegmentsToRecover</td>
+        <td>The number of remaining segments assigned to the currently active recovery thread.</td>
+      </tr>
+      <tr>
+        <td>Log directory offline status</td>
+        <td>kafka.log:type=LogManager,name=LogDirectoryOffline</td>
+        <td>Indicates if a log directory is offline (1) or online (0).</td>
+      </tr>
   </tbody></table>
 
 <h4 class="anchor-heading"><a id="tiered_storage_monitoring" class="anchor-link"></a><a href="#tiered_storage_monitoring">Tiered Storage Monitoring</a></h4>