Versions in this module Expand all Collapse all v0 v0.19.4 Nov 27, 2015 v0.19.3 Nov 2, 2015 v0.19.2 Oct 23, 2015 v0.19.1 Oct 22, 2015 Changes in this version + const AWS + const Baremetal + const EventContainerCreation + const EventContainerDeletion + const EventOom + const EventOomKill + const GCE + const MetricCumulative + const MetricDelta + const MetricGauge + const UnkownProvider + type Cache struct + Level int + Size uint64 + Type string + type CloudProvider string + type ContainerInfo struct + Spec ContainerSpec + Stats []*ContainerStats + Subcontainers []ContainerReference + func (self *ContainerInfo) Eq(b *ContainerInfo) bool + func (self *ContainerInfo) StatsAfter(ref time.Time) []*ContainerStats + func (self *ContainerInfo) StatsEndTime() time.Time + func (self *ContainerInfo) StatsStartTime() time.Time + type ContainerInfoRequest struct + End time.Time + NumStats int + Start time.Time + func DefaultContainerInfoRequest() ContainerInfoRequest + func (self *ContainerInfoRequest) Equals(other ContainerInfoRequest) bool + type ContainerReference struct + Aliases []string + Name string + Namespace string + type ContainerReferenceSlice []ContainerReference + func (self ContainerReferenceSlice) Len() int + func (self ContainerReferenceSlice) Less(i, j int) bool + func (self ContainerReferenceSlice) Swap(i, j int) + type ContainerSpec struct + Cpu CpuSpec + CreationTime time.Time + CustomMetrics []MetricSpec + HasCpu bool + HasCustomMetrics bool + HasDiskIo bool + HasFilesystem bool + HasMemory bool + HasNetwork bool + Image string + Labels map[string]string + Memory MemorySpec + func (self *ContainerSpec) Eq(b *ContainerSpec) bool + type ContainerStats struct + Cpu CpuStats + CustomMetrics map[string][]MetricVal + DiskIo DiskIoStats + Filesystem []FsStats + Memory MemoryStats + Network NetworkStats + TaskStats LoadStats + Timestamp time.Time + func (a *ContainerStats) Eq(b *ContainerStats) bool + func (a *ContainerStats) StatsEq(b *ContainerStats) bool + type Core struct + Caches []Cache + Id int + Threads []int + type CpuSpec struct + Limit uint64 + Mask string + MaxLimit uint64 + type CpuStats struct + LoadAverage int32 + Usage CpuUsage + type CpuUsage struct + PerCpu []uint64 + System uint64 + Total uint64 + User uint64 + type DataType string + const FloatType + const IntType + type DiskInfo struct + Major uint64 + Minor uint64 + Name string + Scheduler string + Size uint64 + type DiskIoStats struct + IoMerged []PerDiskStats + IoQueued []PerDiskStats + IoServiceBytes []PerDiskStats + IoServiceTime []PerDiskStats + IoServiced []PerDiskStats + IoTime []PerDiskStats + IoWaitTime []PerDiskStats + Sectors []PerDiskStats + type Event struct + ContainerName string + EventData EventData + EventType EventType + Timestamp time.Time + type EventData struct + OomKill *OomKillEventData + type EventType string + type FsInfo struct + Capacity uint64 + Device string + type FsStats struct + Available uint64 + Device string + IoInProgress uint64 + IoTime uint64 + Limit uint64 + ReadTime uint64 + ReadsCompleted uint64 + ReadsMerged uint64 + SectorsRead uint64 + SectorsWritten uint64 + Usage uint64 + WeightedIoTime uint64 + WriteTime uint64 + WritesCompleted uint64 + WritesMerged uint64 + type InstanceType string + const NoInstance + const UnknownInstance + type InterfaceStats struct + Name string + RxBytes uint64 + RxDropped uint64 + RxErrors uint64 + RxPackets uint64 + TxBytes uint64 + TxDropped uint64 + TxErrors uint64 + TxPackets uint64 + type LoadStats struct + NrIoWait uint64 + NrRunning uint64 + NrSleeping uint64 + NrStopped uint64 + NrUninterruptible uint64 + type MachineInfo struct + BootID string + CloudProvider CloudProvider + CpuFrequency uint64 + DiskMap map[string]DiskInfo + Filesystems []FsInfo + InstanceType InstanceType + MachineID string + MemoryCapacity int64 + NetworkDevices []NetInfo + NumCores int + SystemUUID string + Topology []Node + type MachineInfoFactory interface + GetMachineInfo func() (*MachineInfo, error) + GetVersionInfo func() (*VersionInfo, error) + type MemorySpec struct + Limit uint64 + Reservation uint64 + SwapLimit uint64 + type MemoryStats struct + ContainerData MemoryStatsMemoryData + Failcnt uint64 + HierarchicalData MemoryStatsMemoryData + Usage uint64 + WorkingSet uint64 + type MemoryStatsMemoryData struct + Pgfault uint64 + Pgmajfault uint64 + type MetricSpec struct + Format DataType + Name string + Type MetricType + Units string + type MetricType string + type MetricVal struct + FloatValue float64 + IntValue int64 + Label string + Timestamp time.Time + type MetricValBasic struct + FloatValue float64 + IntValue int64 + Timestamp time.Time + type NetInfo struct + MacAddress string + Mtu int64 + Name string + Speed int64 + type NetworkStats struct + Interfaces []InterfaceStats + Tcp TcpStat + Tcp6 TcpStat + type Node struct + Caches []Cache + Cores []Core + Id int + Memory uint64 + func (self *Node) AddNodeCache(c Cache) + func (self *Node) AddPerCoreCache(c Cache) + func (self *Node) AddThread(thread int, core int) + func (self *Node) FindCore(id int) (bool, int) + type OomKillEventData struct + Pid int + ProcessName string + type PerDiskStats struct + Major uint64 + Minor uint64 + Stats map[string]uint64 + 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 VersionInfo struct + CadvisorRevision string + CadvisorVersion string + ContainerOsVersion string + DockerVersion string + KernelVersion string