HDDS-14960. OM Web UI dashboard for Ozone Snapshot#10027
HDDS-14960. OM Web UI dashboard for Ozone Snapshot#10027jojochuang wants to merge 11 commits intoapache:masterfrom
Conversation
sadanand48
left a comment
There was a problem hiding this comment.
Thanks @jojochuang for the patch, One more metric is the time taken to compute the diff. This is not part of the SnapDiffJob class currently , we can add it in a separate jira as well
| <tbody> | ||
| <tr> | ||
| <td>Number of Active Snapshots</td> | ||
| <td>{{$ctrl.snapshotUsageMetrics.NumSnapshotActive}}</td> |
There was a problem hiding this comment.
These metrics capture the num of active/deleted snapshots created since the last restart of OM. I think we should indicate that accordingly
|
Hi @jojochuang I don't think we should duplicate metrics on the web UIs. The page will become overloaded with too much information which Grafana can display better. I suggest making a Grafana dashboard for snapdiff (which AI can also do easily) which contains The list of snapdiff jobs is categorical information so that makes sense to put in the Web UI for now, since Recon is not pulling this information. |
I'll keep the list of snapshot diff jobs. We don't yet have the Grafana dashboards tracking Snapshot internal metrics, which is why I put it here initially. That being said, these internal metrics aren't that self explanatory. I would like to make a page that integrates these metrics and present in a way that helps administrators understand, because the internals of Snapshots are asynchronous. Also reminded me there are a few snapshot related metrics within DeletingServiceMetrics that should be included. |
Change-Id: Iea21514269d37a233c816a2cc55be44fe788382a
Change-Id: Ibe1e0c84ec68936f7aa8837d9aea969b2bcc5701
Change-Id: I89b3585bbd5e34364a8a4567f81de485b737d69e
Change-Id: I9f5b5040fe8835c7cc7aae98732368b12a053961
Change-Id: I4a2c082ddacd1868934179b4ec47beb64e046417
….html Change-Id: Ib3521a90ebcdfd3e162fe99c8e2f48f1a4a09e80
|
https://issues.apache.org/jira/browse/HDDS-13181 added the OM Snapshot internal metrics to Grafana. It doesn't include numSnapshotSetProperties, numSnapshotSetPropertyFails, and no defragmentation metrics. |
|
Is this a subset of #10055 ? Or should this be merged first before that one. Looks to be the latter |
|
On a side note, the search box does not quite work as one would expect. It only filters the currently displayed entries, not the entire set. At least this is the case on SCM Web UI Node Status section as I tried earlier. Filed HDDS-15007 |
Yes I want to implement these in steps. |

What changes were proposed in this pull request?
HDDS-14960. OM Web UI dashboard for Ozone Snapshot
Please describe your PR in detail:
The implementation includes:
SnapshotDiffJob getCodec() renamed to codec() to avoid clashes with JMXBean conventions.
Gemini CLI model gemini-3-flash-preview
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-14960
How was this patch tested?
Unit tests, manually inspected frontend web UI after executing this command (screen shot attached)