Documentation ¶
Overview ¶
Package memory collects memory metrics from the host OS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMemPercentage ¶
func AddMemPercentage(m *MemStat)
func AddSwapPercentage ¶
func AddSwapPercentage(s *SwapStat)
func GetMemoryEvent ¶
func GetSwapEvent ¶
Types ¶
type MemStat ¶
type MetricSet ¶
type MetricSet struct {
mb.BaseMetricSet
}
MetricSet for fetching system memory metrics.
Click to show internal directories.
Click to hide internal directories.