Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Collect ¶
func Collect(parentPath string, cc *common.CollectorContext)
Collect collects metrics for storage controllers
func Describe ¶
func Describe(ch chan<- *prometheus.Desc)
Describe describes all metrics for the storage package
Types ¶
type DiskDrive ¶
type DiskDrive struct { MediaType string `json:"MediaType"` Model string `json:"Model"` Location Location `json:"Location"` CapacityB uint64 `json:"CapacityBytes"` CapacityMB uint64 `json:"CapacityMiB"` Status common.Status `json:"Status"` }
func (*DiskDrive) CapacityBytes ¶
type LocationInfo ¶
type LocationInfo struct {
Info string `json:"Info"`
}
type StorageInfo ¶
Click to show internal directories.
Click to hide internal directories.