You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "smita (Jira)" <ji...@apache.org> on 2024/08/26 07:03:00 UTC
[jira] [Assigned] (HDDS-7709) Recon UI - Display various metrics based on entity path entered by user.
[ https://issues.apache.org/jira/browse/HDDS-7709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
smita reassigned HDDS-7709:
---------------------------
Assignee: Abhishek Pal (was: smita)
> Recon UI - Display various metrics based on entity path entered by user.
> ------------------------------------------------------------------------
>
> Key: HDDS-7709
> URL: https://issues.apache.org/jira/browse/HDDS-7709
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Recon
> Reporter: Devesh Kumar Singh
> Assignee: Abhishek Pal
> Priority: Major
> Attachments: image-2022-12-28-12-36-39-472.png, image-2022-12-28-12-36-59-355.png, image-2022-12-28-12-38-03-169.png, image-2022-12-28-12-38-19-707.png, image-2023-02-03-13-21-38-243.png
>
>
> If Path is Bucket:
> - Keys
> -- TopN Keys with Age, Size details
> --- By Count - Give user option to select 10, 20, 30 etc
> --- By Size - Give user option to select With or Without Replica
> - Dirs
> -- TopN Dirs with Age, Size, dirCount, keycount details
> --- By Count - Give user option to select 10, 20, 30 etc
> --- By Size - Give user option to select With or Without Replica
> If Path is Volume:
> - Buckets
> -- TopN Buckets with Age, Size, dirCount, keycount details
> --- By Count - Give user option to select 10, 20, 30 etc
> --- By Size - Give user option to select With or Without Replica
> If Path is Directory:
> - Keys
> -- TopN Keys with Age, Size details
> --- By Count - Give user option to select 10, 20, 30 etc
> --- By Size - Give user option to select With or Without Replica
> - Dirs
> -- TopN Dirs with Age, Size, dirCount, keycount details
> --- By Count - Give user option to select 10, 20, 30 etc
> --- By Size - Give user option to select With or Without Replica
> If Path is Key:
> - Display: Size, Age details
> *API End Point :*
> {{Request Type: GET}}
> *API Path:* /api/v1/namespace/entityInfo?path=<path of volume/bucket/dir/key>
> *Sample Response:*
> {
> "entityInfo":
> { "type": "DIRECTORY", "numVolume": -1, "numBucket": -1, "numDir": 2, "numKey": 5, "status": "OK" }
> ,
> "childEntityMetrics": [
> { "key": false, "path": "/volume1/bucket1/dir1/dir2", "size": 86060, "sizeWithReplica": 258180, "isKey": false, "keyCount": 4, "bucketCount": -1, "dirCount": 1, "volumeCount": -1, "type": "DIRECTORY", "creationTime": 1671801625290, "modificationTime": 1671801625290 }
> ,
> { "key": true, "path": "/volume1/bucket1/dir1/LICENSE.txt", "size": 21515, "sizeWithReplica": 64545, "isKey": true, "keyCount": 0, "bucketCount": -1, "dirCount": -1, "volumeCount": -1, "type": "KEY", "creationTime": 1671801625290, "modificationTime": 1671801625290 }
> ],
> "status": "OK"
> }
>
> So as discussed with [~smitha.joshi@cloudera.com]
> !image-2022-12-28-12-36-39-472.png!
> !image-2022-12-28-12-38-03-169.png!
> !image-2022-12-28-12-38-19-707.png!
--
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