You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hemant Kumar (Jira)" <ji...@apache.org> on 2023/10/02 18:09:00 UTC

[jira] [Comment Edited] (HDDS-8641) [Snapshot] Update snapshot metrics

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

Hemant Kumar edited comment on HDDS-8641 at 10/2/23 6:08 PM:
-------------------------------------------------------------

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{*}.
9. Snapshot diff job count: *NumSnapshotDiffJobs*
10. Snapshot diff job failure count: *NumSnapshotDiffJobFails*

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.


was (Author: JIRAUSER297350):
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org