Versions in this module Expand all Collapse all v0 v0.60.5 Jul 11, 2026 v0.60.4 Jul 10, 2026 v0.60.3 Jun 26, 2026 v0.60.2 Jun 24, 2026 v0.60.0 Jun 20, 2026 Changes in this version + const SchemaVersion + const TypeDocker + const TypeName + const TypePodman + const UnknownInstance + type AcceleratorStats struct + DutyCycle uint64 + ID string + Make string + MemoryTotal uint64 + MemoryUsed uint64 + Model string + type CPUSetStats struct + MemoryMigrate uint64 + type Cache struct + Id int + Level int + Size uint64 + Type string + type CacheStats struct + LLCOccupancy uint64 + type CloudProvider string + const AWS + const Azure + const GCE + const UnknownProvider + type Container struct + Aliases []string + Name string + Namespace string + Spec ContainerSpec + Stats []*ContainerStats + type ContainerDeletionEventData struct + ExitCode int + type ContainerInfo struct + Spec ContainerSpec + Stats []*ContainerStats + Subcontainers []ContainerReference + func (ci *ContainerInfo) Eq(b *ContainerInfo) bool + func (ci *ContainerInfo) StatsAfter(ref time.Time) []*ContainerStats + func (ci *ContainerInfo) StatsEndTime() time.Time + func (ci *ContainerInfo) StatsStartTime() time.Time + type ContainerInfoRequest struct + End time.Time + NumStats int + Start time.Time + func DefaultContainerInfoRequest() ContainerInfoRequest + func (r *ContainerInfoRequest) Equals(other ContainerInfoRequest) bool + type ContainerReference struct + Aliases []string + Id string + Name string + Namespace string + type ContainerReferenceSlice []ContainerReference + func (s ContainerReferenceSlice) Len() int + func (s ContainerReferenceSlice) Less(i, j int) bool + func (s ContainerReferenceSlice) Swap(i, j int) + type ContainerSpec struct + Cpu CpuSpec + CreationTime time.Time + CustomMetrics []MetricSpec + Envs map[string]string + HasCpu bool + HasCustomMetrics bool + HasDiskIo bool + HasFilesystem bool + HasHugetlb bool + HasMemory bool + HasNetwork bool + HasProcesses bool + Image string + Labels map[string]string + Memory MemorySpec + Processes ProcessSpec + StartTime time.Time + func (s *ContainerSpec) Eq(b *ContainerSpec) bool + type ContainerStats struct + Accelerators []AcceleratorStats + Cpu CpuStats + CpuInst *CpuInstStats + CpuSet CPUSetStats + CustomMetrics map[string][]MetricVal + DiskIo DiskIoStats + Filesystem []FsStats + Health Health + Hugetlb map[string]HugetlbStats + Memory MemoryStats + Network NetworkStats + OOMEvents uint64 + PerfStats []PerfStat + PerfUncoreStats []PerfUncoreStat + Processes ProcessStats + ReferencedMemory uint64 + Resctrl ResctrlStats + TaskStats LoadStats + Timestamp time.Time + func (a *ContainerStats) Eq(b *ContainerStats) bool + func (a *ContainerStats) StatsEq(b *ContainerStats) bool + type Core struct + BookID string + Caches []Cache + DrawerID string + Id int + SocketID int + Threads []int + UncoreCaches []Cache + type CpuCFS struct + BurstTime uint64 + BurstsPeriods uint64 + Periods uint64 + ThrottledPeriods uint64 + ThrottledTime uint64 + type CpuInstStats struct + Usage CpuInstUsage + func InstCpuStats(last, cur *ContainerStats) (*CpuInstStats, error) + type CpuInstUsage struct + PerCpu []uint64 + System uint64 + Total uint64 + User uint64 + type CpuSchedstat struct + RunPeriods uint64 + RunTime uint64 + RunqueueTime uint64 + type CpuSpec struct + Limit uint64 + Mask string + MaxLimit uint64 + Period uint64 + Quota uint64 + type CpuStats struct + CFS CpuCFS + LoadAverage int32 + LoadDAverage int32 + PSI PSIStats + Schedstat CpuSchedstat + Usage CpuUsage + type CpuUsage struct + PerCpu []uint64 + System uint64 + Total uint64 + User uint64 + type DataType string + const FloatType + const IntType + type DerivedStats struct + DayUsage Usage + HourUsage Usage + LatestUsage InstantUsage + MinuteUsage Usage + Timestamp time.Time + type DiskInfo struct + Major uint64 + Minor uint64 + Name string + Scheduler string + Size uint64 + type DiskIoStats struct + IoCostIndebt []PerDiskStats + IoCostIndelay []PerDiskStats + IoCostUsage []PerDiskStats + IoCostWait []PerDiskStats + IoMerged []PerDiskStats + IoQueued []PerDiskStats + IoServiceBytes []PerDiskStats + IoServiceTime []PerDiskStats + IoServiced []PerDiskStats + IoTime []PerDiskStats + IoWaitTime []PerDiskStats + PSI PSIStats + Sectors []PerDiskStats + type Event struct + ContainerName string + EventData EventData + EventType EventType + Timestamp time.Time + type EventData struct + ContainerDeletion *ContainerDeletionEventData + OomKill *OomKillEventData + type EventType string + const EventContainerCreation + const EventContainerDeletion + const EventOom + const EventOomKill + type FilesystemInfo struct + Capacity uint64 + Device string + DeviceMajor uint64 + DeviceMinor uint64 + HasInodes bool + Inodes uint64 + Type string + type FilesystemSummary struct + BaseUsageBytes *uint64 + InodeUsage *uint64 + TotalUsageBytes *uint64 + type FsInfo struct + Available uint64 + Capacity uint64 + Device string + Inodes *uint64 + InodesFree *uint64 + Labels []string + Mountpoint string + Timestamp time.Time + Usage uint64 + type FsStats struct + Available uint64 + BaseUsage uint64 + Device string + HasInodes bool + Inodes uint64 + InodesFree uint64 + IoInProgress uint64 + IoTime uint64 + Limit uint64 + ReadTime uint64 + ReadsCompleted uint64 + ReadsMerged uint64 + SectorsRead uint64 + SectorsWritten uint64 + Type string + Usage uint64 + WeightedIoTime uint64 + WriteTime uint64 + WritesCompleted uint64 + WritesMerged uint64 + type Health struct + Status string + type HugePagesInfo struct + NumPages uint64 + PageSize uint64 + type HugetlbStats struct + Failcnt uint64 + MaxUsage uint64 + Usage uint64 + type InstanceID string + const UnNamedInstance + type InstanceType string + type InstantUsage struct + Cpu uint64 + Memory uint64 + 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 + CPUVendorID string + CloudProvider CloudProvider + CpuFrequency uint64 + DiskMap map[string]DiskInfo + Filesystems []FilesystemInfo + HugePages []HugePagesInfo + InstanceID InstanceID + InstanceType InstanceType + MachineID string + MemoryByType map[string]*MemoryInfo + MemoryCapacity uint64 + NVMInfo NVMInfo + NetworkDevices []NetInfo + NumBooks int + NumCores int + NumDrawers int + NumPhysicalCores int + NumSockets int + SwapCapacity uint64 + SystemUUID string + Timestamp time.Time + Topology []Node + func (m *MachineInfo) Clone() *MachineInfo + type MachineInfoFactory interface + GetMachineInfo func() (*MachineInfo, error) + GetVersionInfo func() (*VersionInfo, error) + type MemoryBandwidthStats struct + LocalBytes uint64 + TotalBytes uint64 + type MemoryEvents struct + High uint64 + Max uint64 + type MemoryInfo struct + Capacity uint64 + DimmCount uint + type MemoryNumaStats struct + Anon map[uint8]uint64 + File map[uint8]uint64 + Unevictable map[uint8]uint64 + type MemorySpec struct + Limit uint64 + Reservation uint64 + SwapLimit uint64 + type MemoryStats struct + Cache uint64 + ContainerData MemoryStatsMemoryData + Events MemoryEvents + Failcnt uint64 + FileDirty uint64 + FileWriteback uint64 + HierarchicalData MemoryStatsMemoryData + KernelUsage uint64 + MappedFile uint64 + MaxUsage uint64 + PSI PSIStats + Pgscan uint64 + Pgsteal uint64 + RSS uint64 + Swap uint64 + TotalActiveFile uint64 + TotalInactiveFile uint64 + Usage uint64 + WorkingSet uint64 + WorkingsetRefaultAnon uint64 + WorkingsetRefaultFile uint64 + type MemoryStatsMemoryData struct + NumaStats MemoryNumaStats + Pgfault uint64 + Pgmajfault uint64 + type MetricSpec struct + Format DataType + Name string + Type MetricType + Units string + type MetricType string + const MetricCumulative + const MetricGauge + type MetricVal struct + FloatValue float64 + IntValue int64 + Label string + Labels map[string]string + Timestamp time.Time + type MetricValBasic struct + FloatValue float64 + IntValue int64 + Timestamp time.Time + type NVMInfo struct + AppDirectModeCapacity uint64 + AvgPowerBudget uint + MemoryModeCapacity uint64 + type NetInfo struct + MacAddress string + Mtu int64 + Name string + Speed int64 + type NetworkStats struct + Interfaces []InterfaceStats + Tcp TcpStat + Tcp6 TcpStat + TcpAdvanced TcpAdvancedStat + Udp UdpStat + Udp6 UdpStat + type Node struct + Caches []Cache + Cores []Core + Distances []uint64 + HugePages []HugePagesInfo + Id int + Memory uint64 + func (n *Node) AddNodeCache(c Cache) + func (n *Node) AddPerCoreCache(c Cache) + func (n *Node) AddThread(thread int, core int) + func (n *Node) FindCore(id int) (bool, int) + func (n *Node) FindCoreByThread(thread int) (bool, int) + type OomKillEventData struct + Constraint string + Pid int + ProcessName string + type PSIData struct + Avg10 float64 + Avg300 float64 + Avg60 float64 + Total uint64 + type PSIStats struct + Full PSIData + Some PSIData + type PerDiskStats struct + Device string + Major uint64 + Minor uint64 + Stats map[string]uint64 + type Percentiles struct + Count uint64 + Fifty uint64 + Max uint64 + Mean uint64 + Ninety uint64 + NinetyFive uint64 + Present bool + Std uint64 + type PerfStat struct + Cpu int + type PerfUncoreStat struct + PMU string + Socket int + type PerfValue struct + Name string + ScalingRatio float64 + Value uint64 + type ProcessInfo struct + CgroupPath string + Cmd string + FdCount int + PercentCpu float32 + PercentMemory float32 + Pid int + Ppid int + Psr int + RSS uint64 + RunningTime string + StartTime string + Status string + User string + VirtualSize uint64 + type ProcessSpec struct + Limit uint64 + type ProcessStats struct + FdCount uint64 + ProcessCount uint64 + SocketCount uint64 + ThreadsCurrent uint64 + ThreadsMax uint64 + Ulimits []UlimitSpec + type RequestOptions struct + Count int + IdType string + MaxAge *time.Duration + Recursive bool + type ResctrlStats struct + Cache []CacheStats + MemoryBandwidth []MemoryBandwidthStats + type TcpAdvancedStat struct + ActiveOpens uint64 + AttemptFails uint64 + CurrEstab uint64 + DelayedACKLocked uint64 + DelayedACKLost uint64 + DelayedACKs uint64 + EmbryonicRsts uint64 + EstabResets uint64 + IPReversePathFilter uint64 + InCsumErrors uint64 + InErrs uint64 + InSegs uint64 + ListenDrops uint64 + ListenOverflows uint64 + LockDroppedIcmps uint64 + MaxConn int64 + OfoPruned uint64 + OutOfWindowIcmps uint64 + OutRsts uint64 + OutSegs uint64 + PAWSActive uint64 + PAWSEstab uint64 + PFMemallocDrop uint64 + PassiveOpens uint64 + PruneCalled uint64 + RcvPruned uint64 + RetransSegs uint64 + RtoAlgorithm uint64 + RtoMax uint64 + RtoMin uint64 + SyncookiesFailed uint64 + SyncookiesRecv uint64 + SyncookiesSent uint64 + TCPAbortFailed uint64 + TCPAbortOnClose uint64 + TCPAbortOnData uint64 + TCPAbortOnLinger uint64 + TCPAbortOnMemory uint64 + TCPAbortOnTimeout uint64 + TCPBacklogDrop uint64 + TCPDSACKIgnoredNoUndo uint64 + TCPDSACKIgnoredOld uint64 + TCPDSACKOfoRecv uint64 + TCPDSACKOfoSent uint64 + TCPDSACKOldSent uint64 + TCPDSACKRecv uint64 + TCPDSACKUndo uint64 + TCPDeferAcceptDrop uint64 + TCPFACKReorder uint64 + TCPFastOpenActive uint64 + TCPFastOpenActiveFail uint64 + TCPFastOpenCookieReqd uint64 + TCPFastOpenListenOverflow uint64 + TCPFastOpenPassive uint64 + TCPFastOpenPassiveFail uint64 + TCPFastRetrans uint64 + TCPFullUndo uint64 + TCPHPAcks uint64 + TCPHPHits uint64 + TCPLossFailures uint64 + TCPLossProbeRecovery uint64 + TCPLossProbes uint64 + TCPLossUndo uint64 + TCPLostRetransmit uint64 + TCPMD5Failure uint64 + TCPMD5NotFound uint64 + TCPMD5Unexpected uint64 + TCPMemoryPressures uint64 + TCPMemoryPressuresChrono uint64 + TCPMinTTLDrop uint64 + TCPOrigDataSent uint64 + TCPPartialUndo uint64 + TCPPureAcks uint64 + TCPRcvCollapsed uint64 + TCPRenoFailures uint64 + TCPRenoRecovery uint64 + TCPRenoRecoveryFail uint64 + TCPRenoReorder uint64 + TCPReqQFullDoCookies uint64 + TCPReqQFullDrop uint64 + TCPRetransFail uint64 + TCPSACKDiscard uint64 + TCPSACKReneging uint64 + TCPSACKReorder uint64 + TCPSackFailures uint64 + TCPSackMerged uint64 + TCPSackRecovery uint64 + TCPSackRecoveryFail uint64 + TCPSackShiftFallback uint64 + TCPSackShifted uint64 + TCPSlowStartRetrans uint64 + TCPSpuriousRTOs uint64 + TCPSynRetrans uint64 + TCPTSReorder uint64 + TCPTimeWaitOverflow uint64 + TCPTimeouts uint64 + TW uint64 + TWKilled uint64 + TWRecycled 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 UdpStat struct + Dropped uint64 + Listen uint64 + RxQueued uint64 + TxQueued uint64 + type UlimitSpec struct + HardLimit int64 + Name string + SoftLimit int64 + type Usage struct + Cpu Percentiles + Memory Percentiles + PercentComplete int32 + type VersionInfo struct + CadvisorRevision string + CadvisorVersion string + ContainerOsVersion string + DockerAPIVersion string + DockerVersion string + KernelVersion string