memory

package
v0.0.0-...-3283bf7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL