mirror of
https://github.com/pgsty/minio.git
synced 2026-07-18 19:50:23 +03:00
Add prometheus endpoint to support total Used storageInfo (#5988)
Since we deprecated Total/Free we don't need to update prometheus with those metrics. This PR also adds support for caching implementation.
This commit is contained in:
committed by
kannappanr
parent
dd0db526d9
commit
5282639f3c
@@ -39,9 +39,7 @@ const (
|
||||
|
||||
// StorageInfo - represents total capacity of underlying storage.
|
||||
type StorageInfo struct {
|
||||
Total uint64 // Total disk space.
|
||||
Free uint64 // Free available space.
|
||||
Used uint64 // Used total used per tenant.
|
||||
Used uint64 // Used total used per tenant.
|
||||
|
||||
// Backend type.
|
||||
Backend struct {
|
||||
|
||||
Reference in New Issue
Block a user