jojochuang opened a new pull request, #8436: URL: https://github.com/apache/ozone/pull/8436
## What changes were proposed in this pull request? HDDS-13013. [Snapshot] Add metrics and tests for snapshot operations. Please describe your PR in detail: * Add metrics counter for renameSnapshot, cancelSnapshotDiff, listSnapshotDiffJobs requests. * update the counters in the respective request handlers. * Tests to ensure the counters are updated correctly after each operation: including listSnapshotDiffJobs, cancelSnapshotDiff, getSnapshotInfo, renameSnapshot, deleteSnapshot ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-13013 (Please replace this section with the link to the Apache JIRA) ## How was this patch tested? New unit tests TestOmMetrics#testSnapshotOps() -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org