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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to