mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
Add free inode metric for Prometheus (#12225)
This commit is contained in:
committed by
Harshavardhana
parent
2fd9c13b50
commit
776589f0da
@@ -197,6 +197,7 @@ func getDisksInfo(disks []StorageAPI, endpoints []string) (disksInfo []madmin.Di
|
||||
RootDisk: info.RootDisk,
|
||||
Healing: info.Healing,
|
||||
State: diskErrToDriveState(err),
|
||||
FreeInodes: info.FreeInodes,
|
||||
}
|
||||
di.PoolIndex, di.SetIndex, di.DiskIndex = disks[index].GetDiskLoc()
|
||||
if info.Healing {
|
||||
|
||||
Reference in New Issue
Block a user