You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Peter Lee (Jira)" <ji...@apache.org> on 2025/05/03 09:05:00 UTC

[jira] [Created] (HDDS-12962) Add manual compaction metrics

Peter Lee created HDDS-12962:
--------------------------------

             Summary: Add manual compaction metrics
                 Key: HDDS-12962
                 URL: https://issues.apache.org/jira/browse/HDDS-12962
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Peter Lee


 
{code:java}
    numCompactionRanges = registry.newCounter(
        "NumCompactionRanges",
        "Number of ranges that have been compacted",
        0L);
    numCompactionFailures = registry.newCounter(
        "NumCompactionFailures",
        "Number of compaction failures",
        0L);
    lastCompactionTime = registry.newGauge(
        "LastCompactionTime",
        "Timestamp of the last successful compaction",
        0L);
    compactionQueueSize = registry.newGauge(
        "CompactionQueueSize",
        "Current size of the compaction queue",
        0L); {code}
 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org