Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blkio ¶
type Blkio struct { IoServiceBytesRecursive []BlkioEntry `json:"ioServiceBytesRecursive,omitempty"` IoServicedRecursive []BlkioEntry `json:"ioServicedRecursive,omitempty"` IoQueuedRecursive []BlkioEntry `json:"ioQueueRecursive,omitempty"` IoServiceTimeRecursive []BlkioEntry `json:"ioServiceTimeRecursive,omitempty"` IoWaitTimeRecursive []BlkioEntry `json:"ioWaitTimeRecursive,omitempty"` IoMergedRecursive []BlkioEntry `json:"ioMergedRecursive,omitempty"` IoTimeRecursive []BlkioEntry `json:"ioTimeRecursive,omitempty"` SectorsRecursive []BlkioEntry `json:"sectorsRecursive,omitempty"` PSI *PSIStats `json:"psi,omitempty"` }
type BlkioEntry ¶
type CPUSet ¶
type CPUSet struct { CPUs []uint16 `json:"cpus,omitempty"` CPUExclusive uint64 `json:"cpu_exclusive"` Mems []uint16 `json:"mems,omitempty"` MemHardwall uint64 `json:"mem_hardwall"` MemExclusive uint64 `json:"mem_exclusive"` MemoryMigrate uint64 `json:"memory_migrate"` MemorySpreadPage uint64 `json:"memory_spread_page"` MemorySpreadSlab uint64 `json:"memory_spread_slab"` MemoryPressure uint64 `json:"memory_pressure"` SchedLoadBalance uint64 `json:"sched_load_balance"` SchedRelaxDomainLevel int64 `json:"sched_relax_domain_level"` }
type Cpu ¶
type Cpu struct { Usage CpuUsage `json:"usage,omitempty"` Throttling Throttling `json:"throttling,omitempty"` PSI *PSIStats `json:"psi,omitempty"` }
type Event ¶
type Event struct { Type string `json:"type"` ID string `json:"id"` Data interface{} `json:"data,omitempty"` }
Event struct for encoding the event data to json.
type IntelRdt ¶
type IntelRdt struct { // The read-only L3 cache information L3CacheInfo *L3CacheInfo `json:"l3_cache_info,omitempty"` // The read-only L3 cache schema in root L3CacheSchemaRoot string `json:"l3_cache_schema_root,omitempty"` // The L3 cache schema in 'container_id' group L3CacheSchema string `json:"l3_cache_schema,omitempty"` // The read-only memory bandwidth information MemBwInfo *MemBwInfo `json:"mem_bw_info,omitempty"` // The read-only memory bandwidth schema in root MemBwSchemaRoot string `json:"mem_bw_schema_root,omitempty"` // The memory bandwidth schema in 'container_id' group MemBwSchema string `json:"mem_bw_schema,omitempty"` // The memory bandwidth monitoring statistics from NUMA nodes in 'container_id' group MBMStats *[]intelrdt.MBMNumaNodeStats `json:"mbm_stats,omitempty"` // The cache monitoring technology statistics from NUMA nodes in 'container_id' group CMTStats *[]intelrdt.CMTNumaNodeStats `json:"cmt_stats,omitempty"` }
type L3CacheInfo ¶
type Memory ¶
type Memory struct { Cache uint64 `json:"cache,omitempty"` Usage MemoryEntry `json:"usage,omitempty"` Swap MemoryEntry `json:"swap,omitempty"` Kernel MemoryEntry `json:"kernel,omitempty"` KernelTCP MemoryEntry `json:"kernelTCP,omitempty"` Raw map[string]uint64 `json:"raw,omitempty"` PSI *PSIStats `json:"psi,omitempty"` }
type MemoryEntry ¶
type NetworkInterface ¶
type Stats ¶
type Stats struct { CPU Cpu `json:"cpu"` CPUSet CPUSet `json:"cpuset"` Memory Memory `json:"memory"` Pids Pids `json:"pids"` Blkio Blkio `json:"blkio"` Hugetlb map[string]Hugetlb `json:"hugetlb"` IntelRdt IntelRdt `json:"intel_rdt"` NetworkInterfaces []*NetworkInterface `json:"network_interfaces"` }
stats is the runc specific stats structure for stability when encoding and decoding stats.
type Throttling ¶
Click to show internal directories.
Click to hide internal directories.