info: Add drives per set and sets count per pool information (#17100)

This commit is contained in:
Anis Eleuch
2023-04-27 23:24:03 +01:00
committed by GitHub
parent 98c26df53e
commit d5aff735be
3 changed files with 5 additions and 3 deletions

View File

@@ -1896,6 +1896,8 @@ func getServerInfo(ctx context.Context, poolsInfoEnabled bool, r *http.Request)
OfflineDisks: offlineDisks.Sum(),
StandardSCParity: backendInfo.StandardSCParity,
RRSCParity: backendInfo.RRSCParity,
TotalSets: backendInfo.TotalSets,
DrivesPerSet: backendInfo.DrivesPerSet,
}
if poolsInfoEnabled {