[ 
https://issues.apache.org/jira/browse/HDDS-12962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chu Cheng Li updated HDDS-12962:
--------------------------------
    Description: 
 
{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}
 

Also
 # number of skipped range: range that has too less tombstone entries or its 
tombstone ratio is too low
 # number of scanned buckets
 # time spend on calculating the range stats
 # time spend on getting the table props for each ranges

  was:
 
{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}
 

 


> Add manual compaction metrics
> -----------------------------
>
>                 Key: HDDS-12962
>                 URL: https://issues.apache.org/jira/browse/HDDS-12962
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Chu Cheng Li
>            Priority: Major
>
>  
> {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}
>  
> Also
>  # number of skipped range: range that has too less tombstone entries or its 
> tombstone ratio is too low
>  # number of scanned buckets
>  # time spend on calculating the range stats
>  # time spend on getting the table props for each ranges



--
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