Versions in this module Expand all Collapse all v0 v0.22.0 Feb 26, 2016 Changes in this version type CpuSpec + Period uint64 + Quota uint64 type MachineFsStats + InodesFree *uint64 + Type string v0.20.4 Jan 21, 2016 v0.20.3 Jan 19, 2016 v0.20.2 Jan 16, 2016 Changes in this version + const TypeDocker + const TypeName + type Attributes struct + CadvisorVersion string + CloudProvider v1.CloudProvider + ContainerOsVersion string + CpuFrequency uint64 + DiskMap map[string]v1.DiskInfo + DockerVersion string + Filesystems []v1.FsInfo + InstanceType v1.InstanceType + KernelVersion string + MachineID string + MemoryCapacity int64 + NetworkDevices []v1.NetInfo + NumCores int + SystemUUID string + Topology []v1.Node + func GetAttributes(mi *v1.MachineInfo, vi *v1.VersionInfo) Attributes + type ContainerInfo struct + Spec ContainerSpec + Stats []*ContainerStats + type ContainerSpec struct + Aliases []string + Cpu CpuSpec + CreationTime time.Time + CustomMetrics []v1.MetricSpec + Envs map[string]string + HasCpu bool + HasCustomMetrics bool + HasDiskIo bool + HasFilesystem bool + HasMemory bool + HasNetwork bool + Image string + Labels map[string]string + Memory MemorySpec + Namespace string + func ContainerSpecFromV1(specV1 *v1.ContainerSpec, aliases []string, namespace string) ContainerSpec + type ContainerStats struct + Cpu *v1.CpuStats + CpuInst *CpuInstStats + CustomMetrics map[string][]v1.MetricVal + DiskIo *v1.DiskIoStats + Filesystem *FilesystemStats + Load *v1.LoadStats + Memory *v1.MemoryStats + Network *NetworkStats + Timestamp time.Time + func ContainerStatsFromV1(spec *v1.ContainerSpec, stats []*v1.ContainerStats) []*ContainerStats + type CpuInstStats struct + Usage CpuInstUsage + func InstCpuStats(last, cur *v1.ContainerStats) (*CpuInstStats, error) + type CpuInstUsage struct + PerCpu []uint64 + System uint64 + Total uint64 + User uint64 + type CpuSpec struct + Limit uint64 + Mask string + MaxLimit uint64 + type DeprecatedContainerStats struct + Cpu v1.CpuStats + CpuInst *CpuInstStats + CustomMetrics map[string][]v1.MetricVal + DiskIo v1.DiskIoStats + Filesystem []v1.FsStats + HasCpu bool + HasCustomMetrics bool + HasDiskIo bool + HasFilesystem bool + HasLoad bool + HasMemory bool + HasNetwork bool + Load v1.LoadStats + Memory v1.MemoryStats + Network NetworkStats + Timestamp time.Time + func DeprecatedStatsFromV1(cont *v1.ContainerInfo) []DeprecatedContainerStats + type DerivedStats struct + DayUsage Usage + HourUsage Usage + LatestUsage InstantUsage + MinuteUsage Usage + Timestamp time.Time + type DiskStats struct + IoDuration *time.Duration + IoInProgress *uint64 + ReadDuration *time.Duration + ReadsCompleted *uint64 + ReadsMerged *uint64 + SectorsRead *uint64 + SectorsWritten *uint64 + WeightedIoDuration *time.Duration + WriteDuration *time.Duration + WritesCompleted *uint64 + WritesMerged *uint64 + type FilesystemStats struct + BaseUsageBytes *uint64 + TotalUsageBytes *uint64 + type FsInfo struct + Available uint64 + Capacity uint64 + Device string + Labels []string + Mountpoint string + Usage uint64 + type InstantUsage struct + Cpu uint64 + Memory uint64 + type MachineFsStats struct + Available *uint64 + Capacity *uint64 + Device string + Usage *uint64 + type MachineStats struct + Cpu *v1.CpuStats + CpuInst *CpuInstStats + Filesystem []MachineFsStats + Load *v1.LoadStats + Memory *v1.MemoryStats + Network *NetworkStats + Timestamp time.Time + func MachineStatsFromV1(cont *v1.ContainerInfo) []MachineStats + type MemorySpec struct + Limit uint64 + Reservation uint64 + SwapLimit uint64 + type NetworkStats struct + Interfaces []v1.InterfaceStats + Tcp TcpStat + Tcp6 TcpStat + type Percentiles struct + Fifty uint64 + Max uint64 + Mean uint64 + Ninety uint64 + NinetyFive uint64 + Present bool + type ProcessInfo struct + CgroupPath string + Cmd string + PercentCpu float32 + PercentMemory float32 + Pid int + Ppid int + RSS uint64 + RunningTime string + StartTime string + Status string + User string + VirtualSize uint64 + type RequestOptions struct + Count int + IdType string + Recursive bool + type TcpStat struct + Close uint64 + CloseWait uint64 + Closing uint64 + Established uint64 + FinWait1 uint64 + FinWait2 uint64 + LastAck uint64 + Listen uint64 + SynRecv uint64 + SynSent uint64 + TimeWait uint64 + type Usage struct + Cpu Percentiles + Memory Percentiles + PercentComplete int32