Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DockerMeasuredCPUStats = []string{"Throttled Periods", "Throttled Time", "Percent"} DockerMeasuredMemStats = []string{"RSS", "Cache", "Swap", "Usage", "Max Usage"} )
Functions ¶
func CalculateCPUPercent ¶
func DockerStatsToTaskResourceUsage ¶
func DockerStatsToTaskResourceUsage(s *docker.Stats) *cstructs.TaskResourceUsage
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.