[
https://issues.apache.org/jira/browse/HDDS-7709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
smita updated HDDS-7709:
------------------------
Attachment: image-2023-02-03-13-21-38-243.png
> 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: smita
> 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 [[email protected]]
> !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: [email protected]
For additional commands, e-mail: [email protected]