Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CPUService ¶
type CPUService struct {
Cores bool
}
CPUService is a helper to collect docker CPU metrics
func NewCpuService ¶
func NewCpuService() *CPUService
type CPUStats ¶
type CPUStats struct { Time common.Time Container *docker.Container PerCPUUsage common.MapStr TotalUsage float64 TotalUsageNormalized float64 UsageInKernelmode uint64 UsageInKernelmodePercentage float64 UsageInKernelmodePercentageNormalized float64 UsageInUsermode uint64 UsageInUsermodePercentage float64 UsageInUsermodePercentageNormalized float64 SystemUsage uint64 SystemUsagePercentage float64 SystemUsagePercentageNormalized float64 }
type MetricSet ¶
type MetricSet struct { mb.BaseMetricSet // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.