[ 
https://issues.apache.org/jira/browse/HDDS-8641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17768958#comment-17768958
 ] 

Hemant Kumar commented on HDDS-8641:
------------------------------------

There are following metrics for snapshot.
1. Snapshot create API call count: *numSnapshotCreates*.
2. Snapshot delete API call count: *numSnapshotDeletes*.
3. Snapshot list API call count: *numSnapshotLists*.
4. Snapshot create API call failure count:  *numSnapshotCreateFails*.
5. Snapshot delete API call failure count:  *numSnapshotDeleteFails*.
6. Snapshot list API call failure count:  *numSnapshotListFails*.
7. Active snapshot count:  *numSnapshotActive*.
8. Deleted snapshot count: *numSnapshotDeleted*.

Metric *numSnapshotReclaimed* is removed in 
[PR#5361|https://github.com/apache/ozone/pull/5361] because *Reclaimed* is not 
a used snapshot status and will be removed completely as part of 
[HDDS-9214|https://issues.apache.org/jira/browse/HDDS-9214].

> [Snapshot] Update snapshot metrics
> ----------------------------------
>
>                 Key: HDDS-8641
>                 URL: https://issues.apache.org/jira/browse/HDDS-8641
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Hemant Kumar
>            Assignee: Hemant Kumar
>            Priority: Critical
>              Labels: pull-request-available
>
> As of now, we use and update few snapshot metrics e.g. `numSnapshotDeleted` 
> and `numSnapshotReclaimed`. This task is general task to use and update 
> unused snapshot metrics.



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