Documentation
¶
Index ¶
- Variables
- type CPUStat
- func (*CPUStat) Descriptor() ([]byte, []int)deprecated
- func (x *CPUStat) GetBurstUsec() uint64
- func (x *CPUStat) GetNrBursts() uint64
- func (x *CPUStat) GetNrPeriods() uint64
- func (x *CPUStat) GetNrThrottled() uint64
- func (x *CPUStat) GetPSI() *PSIStats
- func (x *CPUStat) GetSystemUsec() uint64
- func (x *CPUStat) GetThrottledUsec() uint64
- func (x *CPUStat) GetUsageUsec() uint64
- func (x *CPUStat) GetUserUsec() uint64
- func (*CPUStat) ProtoMessage()
- func (x *CPUStat) ProtoReflect() protoreflect.Message
- func (x *CPUStat) Reset()
- func (x *CPUStat) String() string
- type HugeTlbStat
- func (*HugeTlbStat) Descriptor() ([]byte, []int)deprecated
- func (x *HugeTlbStat) GetCurrent() uint64
- func (x *HugeTlbStat) GetFailcnt() uint64
- func (x *HugeTlbStat) GetMax() uint64
- func (x *HugeTlbStat) GetPagesize() string
- func (*HugeTlbStat) ProtoMessage()
- func (x *HugeTlbStat) ProtoReflect() protoreflect.Message
- func (x *HugeTlbStat) Reset()
- func (x *HugeTlbStat) String() string
- type IOEntry
- func (*IOEntry) Descriptor() ([]byte, []int)deprecated
- func (x *IOEntry) GetMajor() uint64
- func (x *IOEntry) GetMinor() uint64
- func (x *IOEntry) GetRbytes() uint64
- func (x *IOEntry) GetRios() uint64
- func (x *IOEntry) GetWbytes() uint64
- func (x *IOEntry) GetWios() uint64
- func (*IOEntry) ProtoMessage()
- func (x *IOEntry) ProtoReflect() protoreflect.Message
- func (x *IOEntry) Reset()
- func (x *IOEntry) String() string
- type IOStat
- type MemoryEvents
- func (*MemoryEvents) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryEvents) GetHigh() uint64
- func (x *MemoryEvents) GetLow() uint64
- func (x *MemoryEvents) GetMax() uint64
- func (x *MemoryEvents) GetOom() uint64
- func (x *MemoryEvents) GetOomKill() uint64
- func (*MemoryEvents) ProtoMessage()
- func (x *MemoryEvents) ProtoReflect() protoreflect.Message
- func (x *MemoryEvents) Reset()
- func (x *MemoryEvents) String() string
- type MemoryStat
- func (*MemoryStat) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryStat) GetActiveAnon() uint64
- func (x *MemoryStat) GetActiveFile() uint64
- func (x *MemoryStat) GetAnon() uint64
- func (x *MemoryStat) GetAnonThp() uint64
- func (x *MemoryStat) GetFile() uint64
- func (x *MemoryStat) GetFileDirty() uint64
- func (x *MemoryStat) GetFileMapped() uint64
- func (x *MemoryStat) GetFileWriteback() uint64
- func (x *MemoryStat) GetInactiveAnon() uint64
- func (x *MemoryStat) GetInactiveFile() uint64
- func (x *MemoryStat) GetKernelStack() uint64
- func (x *MemoryStat) GetMaxUsage() uint64
- func (x *MemoryStat) GetPSI() *PSIStats
- func (x *MemoryStat) GetPgactivate() uint64
- func (x *MemoryStat) GetPgdeactivate() uint64
- func (x *MemoryStat) GetPgfault() uint64
- func (x *MemoryStat) GetPglazyfree() uint64
- func (x *MemoryStat) GetPglazyfreed() uint64
- func (x *MemoryStat) GetPgmajfault() uint64
- func (x *MemoryStat) GetPgrefill() uint64
- func (x *MemoryStat) GetPgscan() uint64
- func (x *MemoryStat) GetPgsteal() uint64
- func (x *MemoryStat) GetShmem() uint64
- func (x *MemoryStat) GetSlab() uint64
- func (x *MemoryStat) GetSlabReclaimable() uint64
- func (x *MemoryStat) GetSlabUnreclaimable() uint64
- func (x *MemoryStat) GetSock() uint64
- func (x *MemoryStat) GetSwapLimit() uint64
- func (x *MemoryStat) GetSwapMaxUsage() uint64
- func (x *MemoryStat) GetSwapUsage() uint64
- func (x *MemoryStat) GetThpCollapseAlloc() uint64
- func (x *MemoryStat) GetThpFaultAlloc() uint64
- func (x *MemoryStat) GetUnevictable() uint64
- func (x *MemoryStat) GetUsage() uint64
- func (x *MemoryStat) GetUsageLimit() uint64
- func (x *MemoryStat) GetWorkingsetActivate() uint64
- func (x *MemoryStat) GetWorkingsetNodereclaim() uint64
- func (x *MemoryStat) GetWorkingsetRefault() uint64
- func (*MemoryStat) ProtoMessage()
- func (x *MemoryStat) ProtoReflect() protoreflect.Message
- func (x *MemoryStat) Reset()
- func (x *MemoryStat) String() string
- type Metrics
- func (*Metrics) Descriptor() ([]byte, []int)deprecated
- func (x *Metrics) GetCPU() *CPUStat
- func (x *Metrics) GetHugetlb() []*HugeTlbStat
- func (x *Metrics) GetIo() *IOStat
- func (x *Metrics) GetMemory() *MemoryStat
- func (x *Metrics) GetMemoryEvents() *MemoryEvents
- func (x *Metrics) GetNetwork() []*NetworkStat
- func (x *Metrics) GetPids() *PidsStat
- func (x *Metrics) GetRdma() *RdmaStat
- func (*Metrics) ProtoMessage()
- func (x *Metrics) ProtoReflect() protoreflect.Message
- func (x *Metrics) Reset()
- func (x *Metrics) String() string
- type NetworkStat
- func (*NetworkStat) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkStat) GetName() string
- func (x *NetworkStat) GetRxBytes() uint64
- func (x *NetworkStat) GetRxDropped() uint64
- func (x *NetworkStat) GetRxErrors() uint64
- func (x *NetworkStat) GetRxPackets() uint64
- func (x *NetworkStat) GetTxBytes() uint64
- func (x *NetworkStat) GetTxDropped() uint64
- func (x *NetworkStat) GetTxErrors() uint64
- func (x *NetworkStat) GetTxPackets() uint64
- func (*NetworkStat) ProtoMessage()
- func (x *NetworkStat) ProtoReflect() protoreflect.Message
- func (x *NetworkStat) Reset()
- func (x *NetworkStat) String() string
- type PSIData
- func (*PSIData) Descriptor() ([]byte, []int)deprecated
- func (x *PSIData) GetAvg10() float64
- func (x *PSIData) GetAvg300() float64
- func (x *PSIData) GetAvg60() float64
- func (x *PSIData) GetTotal() uint64
- func (*PSIData) ProtoMessage()
- func (x *PSIData) ProtoReflect() protoreflect.Message
- func (x *PSIData) Reset()
- func (x *PSIData) String() string
- type PSIStats
- type PidsStat
- type RdmaEntry
- func (*RdmaEntry) Descriptor() ([]byte, []int)deprecated
- func (x *RdmaEntry) GetDevice() string
- func (x *RdmaEntry) GetHcaHandles() uint32
- func (x *RdmaEntry) GetHcaObjects() uint32
- func (*RdmaEntry) ProtoMessage()
- func (x *RdmaEntry) ProtoReflect() protoreflect.Message
- func (x *RdmaEntry) Reset()
- func (x *RdmaEntry) String() string
- type RdmaStat
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_containerd_cgroups_cgroup2_stats_metrics_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CPUStat ¶
type CPUStat struct {
UsageUsec uint64 `protobuf:"varint,1,opt,name=usage_usec,json=usageUsec,proto3" json:"usage_usec,omitempty"`
UserUsec uint64 `protobuf:"varint,2,opt,name=user_usec,json=userUsec,proto3" json:"user_usec,omitempty"`
SystemUsec uint64 `protobuf:"varint,3,opt,name=system_usec,json=systemUsec,proto3" json:"system_usec,omitempty"`
NrPeriods uint64 `protobuf:"varint,4,opt,name=nr_periods,json=nrPeriods,proto3" json:"nr_periods,omitempty"`
NrThrottled uint64 `protobuf:"varint,5,opt,name=nr_throttled,json=nrThrottled,proto3" json:"nr_throttled,omitempty"`
ThrottledUsec uint64 `protobuf:"varint,6,opt,name=throttled_usec,json=throttledUsec,proto3" json:"throttled_usec,omitempty"`
PSI *PSIStats `protobuf:"bytes,7,opt,name=psi,proto3" json:"psi,omitempty"`
NrBursts uint64 `protobuf:"varint,8,opt,name=nr_bursts,json=nrBursts,proto3" json:"nr_bursts,omitempty"`
BurstUsec uint64 `protobuf:"varint,9,opt,name=burst_usec,json=burstUsec,proto3" json:"burst_usec,omitempty"`
// contains filtered or unexported fields
}
func (*CPUStat) Descriptor
deprecated
func (*CPUStat) GetBurstUsec ¶ added in v3.1.0
func (*CPUStat) GetNrBursts ¶ added in v3.1.0
func (*CPUStat) GetNrPeriods ¶
func (*CPUStat) GetNrThrottled ¶
func (*CPUStat) GetSystemUsec ¶
func (*CPUStat) GetThrottledUsec ¶
func (*CPUStat) GetUsageUsec ¶
func (*CPUStat) GetUserUsec ¶
func (*CPUStat) ProtoMessage ¶
func (*CPUStat) ProtoMessage()
func (*CPUStat) ProtoReflect ¶
func (x *CPUStat) ProtoReflect() protoreflect.Message
type HugeTlbStat ¶
type HugeTlbStat struct {
Current uint64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"`
Max uint64 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
Pagesize string `protobuf:"bytes,3,opt,name=pagesize,proto3" json:"pagesize,omitempty"`
Failcnt uint64 `protobuf:"varint,4,opt,name=failcnt,proto3" json:"failcnt,omitempty"`
// contains filtered or unexported fields
}
func (*HugeTlbStat) Descriptor
deprecated
func (*HugeTlbStat) Descriptor() ([]byte, []int)
Deprecated: Use HugeTlbStat.ProtoReflect.Descriptor instead.
func (*HugeTlbStat) GetCurrent ¶
func (x *HugeTlbStat) GetCurrent() uint64
func (*HugeTlbStat) GetFailcnt ¶ added in v3.1.0
func (x *HugeTlbStat) GetFailcnt() uint64
func (*HugeTlbStat) GetMax ¶
func (x *HugeTlbStat) GetMax() uint64
func (*HugeTlbStat) GetPagesize ¶
func (x *HugeTlbStat) GetPagesize() string
func (*HugeTlbStat) ProtoMessage ¶
func (*HugeTlbStat) ProtoMessage()
func (*HugeTlbStat) ProtoReflect ¶
func (x *HugeTlbStat) ProtoReflect() protoreflect.Message
func (*HugeTlbStat) Reset ¶
func (x *HugeTlbStat) Reset()
func (*HugeTlbStat) String ¶
func (x *HugeTlbStat) String() string
type IOEntry ¶
type IOEntry struct {
Major uint64 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
Minor uint64 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
Rbytes uint64 `protobuf:"varint,3,opt,name=rbytes,proto3" json:"rbytes,omitempty"`
Wbytes uint64 `protobuf:"varint,4,opt,name=wbytes,proto3" json:"wbytes,omitempty"`
Rios uint64 `protobuf:"varint,5,opt,name=rios,proto3" json:"rios,omitempty"`
Wios uint64 `protobuf:"varint,6,opt,name=wios,proto3" json:"wios,omitempty"`
// contains filtered or unexported fields
}
func (*IOEntry) Descriptor
deprecated
func (*IOEntry) ProtoMessage ¶
func (*IOEntry) ProtoMessage()
func (*IOEntry) ProtoReflect ¶
func (x *IOEntry) ProtoReflect() protoreflect.Message
type IOStat ¶
type IOStat struct {
Usage []*IOEntry `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"`
PSI *PSIStats `protobuf:"bytes,2,opt,name=psi,proto3" json:"psi,omitempty"`
// contains filtered or unexported fields
}
func (*IOStat) Descriptor
deprecated
func (*IOStat) ProtoMessage ¶
func (*IOStat) ProtoMessage()
func (*IOStat) ProtoReflect ¶
func (x *IOStat) ProtoReflect() protoreflect.Message
type MemoryEvents ¶
type MemoryEvents struct {
Low uint64 `protobuf:"varint,1,opt,name=low,proto3" json:"low,omitempty"`
High uint64 `protobuf:"varint,2,opt,name=high,proto3" json:"high,omitempty"`
Max uint64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
Oom uint64 `protobuf:"varint,4,opt,name=oom,proto3" json:"oom,omitempty"`
OomKill uint64 `protobuf:"varint,5,opt,name=oom_kill,json=oomKill,proto3" json:"oom_kill,omitempty"`
// contains filtered or unexported fields
}
func (*MemoryEvents) Descriptor
deprecated
func (*MemoryEvents) Descriptor() ([]byte, []int)
Deprecated: Use MemoryEvents.ProtoReflect.Descriptor instead.
func (*MemoryEvents) GetHigh ¶
func (x *MemoryEvents) GetHigh() uint64
func (*MemoryEvents) GetLow ¶
func (x *MemoryEvents) GetLow() uint64
func (*MemoryEvents) GetMax ¶
func (x *MemoryEvents) GetMax() uint64
func (*MemoryEvents) GetOom ¶
func (x *MemoryEvents) GetOom() uint64
func (*MemoryEvents) GetOomKill ¶
func (x *MemoryEvents) GetOomKill() uint64
func (*MemoryEvents) ProtoMessage ¶
func (*MemoryEvents) ProtoMessage()
func (*MemoryEvents) ProtoReflect ¶
func (x *MemoryEvents) ProtoReflect() protoreflect.Message
func (*MemoryEvents) Reset ¶
func (x *MemoryEvents) Reset()
func (*MemoryEvents) String ¶
func (x *MemoryEvents) String() string
type MemoryStat ¶
type MemoryStat struct {
Anon uint64 `protobuf:"varint,1,opt,name=anon,proto3" json:"anon,omitempty"`
File uint64 `protobuf:"varint,2,opt,name=file,proto3" json:"file,omitempty"`
KernelStack uint64 `protobuf:"varint,3,opt,name=kernel_stack,json=kernelStack,proto3" json:"kernel_stack,omitempty"`
Slab uint64 `protobuf:"varint,4,opt,name=slab,proto3" json:"slab,omitempty"`
Sock uint64 `protobuf:"varint,5,opt,name=sock,proto3" json:"sock,omitempty"`
Shmem uint64 `protobuf:"varint,6,opt,name=shmem,proto3" json:"shmem,omitempty"`
FileMapped uint64 `protobuf:"varint,7,opt,name=file_mapped,json=fileMapped,proto3" json:"file_mapped,omitempty"`
FileDirty uint64 `protobuf:"varint,8,opt,name=file_dirty,json=fileDirty,proto3" json:"file_dirty,omitempty"`
FileWriteback uint64 `protobuf:"varint,9,opt,name=file_writeback,json=fileWriteback,proto3" json:"file_writeback,omitempty"`
AnonThp uint64 `protobuf:"varint,10,opt,name=anon_thp,json=anonThp,proto3" json:"anon_thp,omitempty"`
InactiveAnon uint64 `protobuf:"varint,11,opt,name=inactive_anon,json=inactiveAnon,proto3" json:"inactive_anon,omitempty"`
ActiveAnon uint64 `protobuf:"varint,12,opt,name=active_anon,json=activeAnon,proto3" json:"active_anon,omitempty"`
InactiveFile uint64 `protobuf:"varint,13,opt,name=inactive_file,json=inactiveFile,proto3" json:"inactive_file,omitempty"`
ActiveFile uint64 `protobuf:"varint,14,opt,name=active_file,json=activeFile,proto3" json:"active_file,omitempty"`
Unevictable uint64 `protobuf:"varint,15,opt,name=unevictable,proto3" json:"unevictable,omitempty"`
SlabReclaimable uint64 `protobuf:"varint,16,opt,name=slab_reclaimable,json=slabReclaimable,proto3" json:"slab_reclaimable,omitempty"`
SlabUnreclaimable uint64 `protobuf:"varint,17,opt,name=slab_unreclaimable,json=slabUnreclaimable,proto3" json:"slab_unreclaimable,omitempty"`
Pgfault uint64 `protobuf:"varint,18,opt,name=pgfault,proto3" json:"pgfault,omitempty"`
Pgmajfault uint64 `protobuf:"varint,19,opt,name=pgmajfault,proto3" json:"pgmajfault,omitempty"`
WorkingsetRefault uint64 `protobuf:"varint,20,opt,name=workingset_refault,json=workingsetRefault,proto3" json:"workingset_refault,omitempty"`
WorkingsetActivate uint64 `protobuf:"varint,21,opt,name=workingset_activate,json=workingsetActivate,proto3" json:"workingset_activate,omitempty"`
WorkingsetNodereclaim uint64 `` /* 126-byte string literal not displayed */
Pgrefill uint64 `protobuf:"varint,23,opt,name=pgrefill,proto3" json:"pgrefill,omitempty"`
Pgscan uint64 `protobuf:"varint,24,opt,name=pgscan,proto3" json:"pgscan,omitempty"`
Pgsteal uint64 `protobuf:"varint,25,opt,name=pgsteal,proto3" json:"pgsteal,omitempty"`
Pgactivate uint64 `protobuf:"varint,26,opt,name=pgactivate,proto3" json:"pgactivate,omitempty"`
Pgdeactivate uint64 `protobuf:"varint,27,opt,name=pgdeactivate,proto3" json:"pgdeactivate,omitempty"`
Pglazyfree uint64 `protobuf:"varint,28,opt,name=pglazyfree,proto3" json:"pglazyfree,omitempty"`
Pglazyfreed uint64 `protobuf:"varint,29,opt,name=pglazyfreed,proto3" json:"pglazyfreed,omitempty"`
ThpFaultAlloc uint64 `protobuf:"varint,30,opt,name=thp_fault_alloc,json=thpFaultAlloc,proto3" json:"thp_fault_alloc,omitempty"`
ThpCollapseAlloc uint64 `protobuf:"varint,31,opt,name=thp_collapse_alloc,json=thpCollapseAlloc,proto3" json:"thp_collapse_alloc,omitempty"`
Usage uint64 `protobuf:"varint,32,opt,name=usage,proto3" json:"usage,omitempty"`
UsageLimit uint64 `protobuf:"varint,33,opt,name=usage_limit,json=usageLimit,proto3" json:"usage_limit,omitempty"`
SwapUsage uint64 `protobuf:"varint,34,opt,name=swap_usage,json=swapUsage,proto3" json:"swap_usage,omitempty"`
SwapLimit uint64 `protobuf:"varint,35,opt,name=swap_limit,json=swapLimit,proto3" json:"swap_limit,omitempty"`
MaxUsage uint64 `protobuf:"varint,36,opt,name=max_usage,json=maxUsage,proto3" json:"max_usage,omitempty"`
SwapMaxUsage uint64 `protobuf:"varint,37,opt,name=swap_max_usage,json=swapMaxUsage,proto3" json:"swap_max_usage,omitempty"`
PSI *PSIStats `protobuf:"bytes,38,opt,name=psi,proto3" json:"psi,omitempty"`
// contains filtered or unexported fields
}
func (*MemoryStat) Descriptor
deprecated
func (*MemoryStat) Descriptor() ([]byte, []int)
Deprecated: Use MemoryStat.ProtoReflect.Descriptor instead.
func (*MemoryStat) GetActiveAnon ¶
func (x *MemoryStat) GetActiveAnon() uint64
func (*MemoryStat) GetActiveFile ¶
func (x *MemoryStat) GetActiveFile() uint64
func (*MemoryStat) GetAnon ¶
func (x *MemoryStat) GetAnon() uint64
func (*MemoryStat) GetAnonThp ¶
func (x *MemoryStat) GetAnonThp() uint64
func (*MemoryStat) GetFile ¶
func (x *MemoryStat) GetFile() uint64
func (*MemoryStat) GetFileDirty ¶
func (x *MemoryStat) GetFileDirty() uint64
func (*MemoryStat) GetFileMapped ¶
func (x *MemoryStat) GetFileMapped() uint64
func (*MemoryStat) GetFileWriteback ¶
func (x *MemoryStat) GetFileWriteback() uint64
func (*MemoryStat) GetInactiveAnon ¶
func (x *MemoryStat) GetInactiveAnon() uint64
func (*MemoryStat) GetInactiveFile ¶
func (x *MemoryStat) GetInactiveFile() uint64
func (*MemoryStat) GetKernelStack ¶
func (x *MemoryStat) GetKernelStack() uint64
func (*MemoryStat) GetMaxUsage ¶ added in v3.0.3
func (x *MemoryStat) GetMaxUsage() uint64
func (*MemoryStat) GetPSI ¶ added in v3.0.3
func (x *MemoryStat) GetPSI() *PSIStats
func (*MemoryStat) GetPgactivate ¶
func (x *MemoryStat) GetPgactivate() uint64
func (*MemoryStat) GetPgdeactivate ¶
func (x *MemoryStat) GetPgdeactivate() uint64
func (*MemoryStat) GetPgfault ¶
func (x *MemoryStat) GetPgfault() uint64
func (*MemoryStat) GetPglazyfree ¶
func (x *MemoryStat) GetPglazyfree() uint64
func (*MemoryStat) GetPglazyfreed ¶
func (x *MemoryStat) GetPglazyfreed() uint64
func (*MemoryStat) GetPgmajfault ¶
func (x *MemoryStat) GetPgmajfault() uint64
func (*MemoryStat) GetPgrefill ¶
func (x *MemoryStat) GetPgrefill() uint64
func (*MemoryStat) GetPgscan ¶
func (x *MemoryStat) GetPgscan() uint64
func (*MemoryStat) GetPgsteal ¶
func (x *MemoryStat) GetPgsteal() uint64
func (*MemoryStat) GetShmem ¶
func (x *MemoryStat) GetShmem() uint64
func (*MemoryStat) GetSlab ¶
func (x *MemoryStat) GetSlab() uint64
func (*MemoryStat) GetSlabReclaimable ¶
func (x *MemoryStat) GetSlabReclaimable() uint64
func (*MemoryStat) GetSlabUnreclaimable ¶
func (x *MemoryStat) GetSlabUnreclaimable() uint64
func (*MemoryStat) GetSock ¶
func (x *MemoryStat) GetSock() uint64
func (*MemoryStat) GetSwapLimit ¶
func (x *MemoryStat) GetSwapLimit() uint64
func (*MemoryStat) GetSwapMaxUsage ¶ added in v3.0.3
func (x *MemoryStat) GetSwapMaxUsage() uint64
func (*MemoryStat) GetSwapUsage ¶
func (x *MemoryStat) GetSwapUsage() uint64
func (*MemoryStat) GetThpCollapseAlloc ¶
func (x *MemoryStat) GetThpCollapseAlloc() uint64
func (*MemoryStat) GetThpFaultAlloc ¶
func (x *MemoryStat) GetThpFaultAlloc() uint64
func (*MemoryStat) GetUnevictable ¶
func (x *MemoryStat) GetUnevictable() uint64
func (*MemoryStat) GetUsage ¶
func (x *MemoryStat) GetUsage() uint64
func (*MemoryStat) GetUsageLimit ¶
func (x *MemoryStat) GetUsageLimit() uint64
func (*MemoryStat) GetWorkingsetActivate ¶
func (x *MemoryStat) GetWorkingsetActivate() uint64
func (*MemoryStat) GetWorkingsetNodereclaim ¶
func (x *MemoryStat) GetWorkingsetNodereclaim() uint64
func (*MemoryStat) GetWorkingsetRefault ¶
func (x *MemoryStat) GetWorkingsetRefault() uint64
func (*MemoryStat) ProtoMessage ¶
func (*MemoryStat) ProtoMessage()
func (*MemoryStat) ProtoReflect ¶
func (x *MemoryStat) ProtoReflect() protoreflect.Message
func (*MemoryStat) Reset ¶
func (x *MemoryStat) Reset()
func (*MemoryStat) String ¶
func (x *MemoryStat) String() string
type Metrics ¶
type Metrics struct {
Pids *PidsStat `protobuf:"bytes,1,opt,name=pids,proto3" json:"pids,omitempty"`
CPU *CPUStat `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
Memory *MemoryStat `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory,omitempty"`
Rdma *RdmaStat `protobuf:"bytes,5,opt,name=rdma,proto3" json:"rdma,omitempty"`
Io *IOStat `protobuf:"bytes,6,opt,name=io,proto3" json:"io,omitempty"`
Hugetlb []*HugeTlbStat `protobuf:"bytes,7,rep,name=hugetlb,proto3" json:"hugetlb,omitempty"`
MemoryEvents *MemoryEvents `protobuf:"bytes,8,opt,name=memory_events,json=memoryEvents,proto3" json:"memory_events,omitempty"`
Network []*NetworkStat `protobuf:"bytes,9,rep,name=network,proto3" json:"network,omitempty"`
// contains filtered or unexported fields
}
func (*Metrics) Descriptor
deprecated
func (*Metrics) GetHugetlb ¶
func (x *Metrics) GetHugetlb() []*HugeTlbStat
func (*Metrics) GetMemory ¶
func (x *Metrics) GetMemory() *MemoryStat
func (*Metrics) GetMemoryEvents ¶
func (x *Metrics) GetMemoryEvents() *MemoryEvents
func (*Metrics) GetNetwork ¶ added in v3.1.0
func (x *Metrics) GetNetwork() []*NetworkStat
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
func (*Metrics) ProtoReflect ¶
func (x *Metrics) ProtoReflect() protoreflect.Message
type NetworkStat ¶ added in v3.1.0
type NetworkStat struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
RxBytes uint64 `protobuf:"varint,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
RxPackets uint64 `protobuf:"varint,3,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
RxErrors uint64 `protobuf:"varint,4,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"`
RxDropped uint64 `protobuf:"varint,5,opt,name=rx_dropped,json=rxDropped,proto3" json:"rx_dropped,omitempty"`
TxBytes uint64 `protobuf:"varint,6,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
TxPackets uint64 `protobuf:"varint,7,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
TxErrors uint64 `protobuf:"varint,8,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"`
TxDropped uint64 `protobuf:"varint,9,opt,name=tx_dropped,json=txDropped,proto3" json:"tx_dropped,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkStat) Descriptor
deprecated
added in
v3.1.0
func (*NetworkStat) Descriptor() ([]byte, []int)
Deprecated: Use NetworkStat.ProtoReflect.Descriptor instead.
func (*NetworkStat) GetName ¶ added in v3.1.0
func (x *NetworkStat) GetName() string
func (*NetworkStat) GetRxBytes ¶ added in v3.1.0
func (x *NetworkStat) GetRxBytes() uint64
func (*NetworkStat) GetRxDropped ¶ added in v3.1.0
func (x *NetworkStat) GetRxDropped() uint64
func (*NetworkStat) GetRxErrors ¶ added in v3.1.0
func (x *NetworkStat) GetRxErrors() uint64
func (*NetworkStat) GetRxPackets ¶ added in v3.1.0
func (x *NetworkStat) GetRxPackets() uint64
func (*NetworkStat) GetTxBytes ¶ added in v3.1.0
func (x *NetworkStat) GetTxBytes() uint64
func (*NetworkStat) GetTxDropped ¶ added in v3.1.0
func (x *NetworkStat) GetTxDropped() uint64
func (*NetworkStat) GetTxErrors ¶ added in v3.1.0
func (x *NetworkStat) GetTxErrors() uint64
func (*NetworkStat) GetTxPackets ¶ added in v3.1.0
func (x *NetworkStat) GetTxPackets() uint64
func (*NetworkStat) ProtoMessage ¶ added in v3.1.0
func (*NetworkStat) ProtoMessage()
func (*NetworkStat) ProtoReflect ¶ added in v3.1.0
func (x *NetworkStat) ProtoReflect() protoreflect.Message
func (*NetworkStat) Reset ¶ added in v3.1.0
func (x *NetworkStat) Reset()
func (*NetworkStat) String ¶ added in v3.1.0
func (x *NetworkStat) String() string
type PSIData ¶ added in v3.0.3
type PSIData struct {
Avg10 float64 `protobuf:"fixed64,1,opt,name=avg10,proto3" json:"avg10,omitempty"`
Avg60 float64 `protobuf:"fixed64,2,opt,name=avg60,proto3" json:"avg60,omitempty"`
Avg300 float64 `protobuf:"fixed64,3,opt,name=avg300,proto3" json:"avg300,omitempty"`
Total uint64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*PSIData) Descriptor
deprecated
added in
v3.0.3
func (*PSIData) ProtoMessage ¶ added in v3.0.3
func (*PSIData) ProtoMessage()
func (*PSIData) ProtoReflect ¶ added in v3.0.3
func (x *PSIData) ProtoReflect() protoreflect.Message
type PSIStats ¶ added in v3.0.3
type PSIStats struct {
Some *PSIData `protobuf:"bytes,1,opt,name=some,proto3" json:"some,omitempty"`
Full *PSIData `protobuf:"bytes,2,opt,name=full,proto3" json:"full,omitempty"`
// contains filtered or unexported fields
}
func (*PSIStats) Descriptor
deprecated
added in
v3.0.3
func (*PSIStats) ProtoMessage ¶ added in v3.0.3
func (*PSIStats) ProtoMessage()
func (*PSIStats) ProtoReflect ¶ added in v3.0.3
func (x *PSIStats) ProtoReflect() protoreflect.Message
type PidsStat ¶
type PidsStat struct {
Current uint64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"`
Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*PidsStat) Descriptor
deprecated
func (*PidsStat) GetCurrent ¶
func (*PidsStat) ProtoMessage ¶
func (*PidsStat) ProtoMessage()
func (*PidsStat) ProtoReflect ¶
func (x *PidsStat) ProtoReflect() protoreflect.Message
type RdmaEntry ¶
type RdmaEntry struct {
Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
HcaHandles uint32 `protobuf:"varint,2,opt,name=hca_handles,json=hcaHandles,proto3" json:"hca_handles,omitempty"`
HcaObjects uint32 `protobuf:"varint,3,opt,name=hca_objects,json=hcaObjects,proto3" json:"hca_objects,omitempty"`
// contains filtered or unexported fields
}
func (*RdmaEntry) Descriptor
deprecated
func (*RdmaEntry) GetHcaHandles ¶
func (*RdmaEntry) GetHcaObjects ¶
func (*RdmaEntry) ProtoMessage ¶
func (*RdmaEntry) ProtoMessage()
func (*RdmaEntry) ProtoReflect ¶
func (x *RdmaEntry) ProtoReflect() protoreflect.Message
type RdmaStat ¶
type RdmaStat struct {
Current []*RdmaEntry `protobuf:"bytes,1,rep,name=current,proto3" json:"current,omitempty"`
Limit []*RdmaEntry `protobuf:"bytes,2,rep,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*RdmaStat) Descriptor
deprecated
func (*RdmaStat) GetCurrent ¶
func (*RdmaStat) ProtoMessage ¶
func (*RdmaStat) ProtoMessage()
func (*RdmaStat) ProtoReflect ¶
func (x *RdmaStat) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.