Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUUsageGenerator ¶ added in v0.14.1
CPUUsageGenerator generates CPU metric values
type DiskGenerator ¶
DiskGenerator XXX
type MemoryGenerator ¶
type MemoryGenerator struct { }
MemoryGenerator collect memory usage
`memory.{metric}`: using memory size[KiB] retrieved from /proc/meminfo
metric = "total", "free", "buffers", "cached", "swap_cached", "swap_total", "swap_free"
Metrics "used" is calculated by
(total - available) when MemAvailable is available in /proc/meminfo and (total - free - buffers - cached) otherwise
graph: stacks `memory.{metric}`
Click to show internal directories.
Click to hide internal directories.