mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Add data usage collect with its new admin API (#8553)
Admin data usage info API returns the following (Only FS & XL, for now) - Number of buckets - Number of objects - The total size of objects - Objects histogram - Bucket sizes
This commit is contained in:
@@ -32,6 +32,7 @@ type StorageAPI interface {
|
||||
SetDiskID(id string)
|
||||
|
||||
DiskInfo() (info DiskInfo, err error)
|
||||
CrawlAndGetDataUsage(endCh <-chan struct{}) (DataUsageInfo, error)
|
||||
|
||||
// Volume operations.
|
||||
MakeVol(volume string) (err error)
|
||||
|
||||
Reference in New Issue
Block a user