Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeStats ¶
type NodeStats struct { Timestamps []int64 RxBytes []uint64 TxBytes []uint64 CPU []uint64 Memory []uint64 }
NodeStats contains the array of data that represents a timeline of the resource usage of a node.
func NewNodeStats ¶
NewNodeStats creates statistics for a node by reading the reader line by line.
Click to show internal directories.
Click to hide internal directories.