Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func GetPercentiles ¶
func GetPercentiles(stats []*info.ContainerStats) (Percentiles, Percentiles)
Returns cpu and memory usage percentiles.
Types ¶
type Mean ¶
type Mean struct { // current mean. Mean float64 // contains filtered or unexported fields }
type Percentiles ¶
type Percentiles struct { // Average over the collected sample. Mean uint64 `json:"mean"` // Max seen over the collected sample. Max uint64 `json:"max"` // 90th percentile over the collected sample. Ninety uint64 `json:"ninety"` }
TODO(rjnagal): Move out when we update API.
Directories ¶
Path | Synopsis |
---|---|
procfs contains several low level functions to read information from /proc filesystem, and also provides some utility functions like JiffiesToDuration.
|
procfs contains several low level functions to read information from /proc filesystem, and also provides some utility functions like JiffiesToDuration. |
Click to show internal directories.
Click to hide internal directories.