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 InterfaceGenerator ¶
InterfaceGenerator generates interface metric values
type MemoryGenerator ¶
type MemoryGenerator struct { }
MemoryGenerator collect memory usage
`memory.{metric}`: using memory size[KiB] retrieved from /proc/meminfo
metric = "total", "free", "buffers", "cached", "active", "inactive", "swap_cached", "swap_total", "swap_free"
Metrics "used" is calculated here like (total - free - buffers - cached) for ease. This calculation may be going to be done in server side in the future.
graph: stacks `memory.{metric}`
Click to show internal directories.
Click to hide internal directories.