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 memory modules
func Describe ¶
func Describe(ch chan<- *prometheus.Desc)
Describe describes all metrics for the memory package
Types ¶
type MemoryDIMM ¶
type MemoryDIMM struct { Name string `json:"Name"` StatusCurrent common.Status `json:"Status"` StatusLegacy string `json:"DIMMStatus"` SizeMBCurrent uint64 `json:"CapacityMiB"` SizeMBLegacy uint64 `json:"SizeMB"` }
func (*MemoryDIMM) HealthValue ¶
func (m *MemoryDIMM) HealthValue() float64
func (*MemoryDIMM) IsValid ¶
func (m *MemoryDIMM) IsValid() bool
func (*MemoryDIMM) SizeMB ¶
func (m *MemoryDIMM) SizeMB() uint64
Click to show internal directories.
Click to hide internal directories.