stats

package
v3.0.0-...-9977a69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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"`
	// contains filtered or unexported fields
}

func (*CPUStat) Descriptor deprecated

func (*CPUStat) Descriptor() ([]byte, []int)

Deprecated: Use CPUStat.ProtoReflect.Descriptor instead.

func (*CPUStat) GetNrPeriods

func (x *CPUStat) GetNrPeriods() uint64

func (*CPUStat) GetNrThrottled

func (x *CPUStat) GetNrThrottled() uint64

func (*CPUStat) GetSystemUsec

func (x *CPUStat) GetSystemUsec() uint64

func (*CPUStat) GetThrottledUsec

func (x *CPUStat) GetThrottledUsec() uint64

func (*CPUStat) GetUsageUsec

func (x *CPUStat) GetUsageUsec() uint64

func (*CPUStat) GetUserUsec

func (x *CPUStat) GetUserUsec() uint64

func (*CPUStat) ProtoMessage

func (*CPUStat) ProtoMessage()

func (*CPUStat) ProtoReflect

func (x *CPUStat) ProtoReflect() protoreflect.Message

func (*CPUStat) Reset

func (x *CPUStat) Reset()

func (*CPUStat) String

func (x *CPUStat) String() string

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"`
	// 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) 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) Descriptor() ([]byte, []int)

Deprecated: Use IOEntry.ProtoReflect.Descriptor instead.

func (*IOEntry) GetMajor

func (x *IOEntry) GetMajor() uint64

func (*IOEntry) GetMinor

func (x *IOEntry) GetMinor() uint64

func (*IOEntry) GetRbytes

func (x *IOEntry) GetRbytes() uint64

func (*IOEntry) GetRios

func (x *IOEntry) GetRios() uint64

func (*IOEntry) GetWbytes

func (x *IOEntry) GetWbytes() uint64

func (*IOEntry) GetWios

func (x *IOEntry) GetWios() uint64

func (*IOEntry) ProtoMessage

func (*IOEntry) ProtoMessage()

func (*IOEntry) ProtoReflect

func (x *IOEntry) ProtoReflect() protoreflect.Message

func (*IOEntry) Reset

func (x *IOEntry) Reset()

func (*IOEntry) String

func (x *IOEntry) String() string

type IOStat

type IOStat struct {
	Usage []*IOEntry `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*IOStat) Descriptor deprecated

func (*IOStat) Descriptor() ([]byte, []int)

Deprecated: Use IOStat.ProtoReflect.Descriptor instead.

func (*IOStat) GetUsage

func (x *IOStat) GetUsage() []*IOEntry

func (*IOStat) ProtoMessage

func (*IOStat) ProtoMessage()

func (*IOStat) ProtoReflect

func (x *IOStat) ProtoReflect() protoreflect.Message

func (*IOStat) Reset

func (x *IOStat) Reset()

func (*IOStat) String

func (x *IOStat) String() string

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"`
	// 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) 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) 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"`
	// contains filtered or unexported fields
}

func (*Metrics) Descriptor deprecated

func (*Metrics) Descriptor() ([]byte, []int)

Deprecated: Use Metrics.ProtoReflect.Descriptor instead.

func (*Metrics) GetCPU

func (x *Metrics) GetCPU() *CPUStat

func (*Metrics) GetHugetlb

func (x *Metrics) GetHugetlb() []*HugeTlbStat

func (*Metrics) GetIo

func (x *Metrics) GetIo() *IOStat

func (*Metrics) GetMemory

func (x *Metrics) GetMemory() *MemoryStat

func (*Metrics) GetMemoryEvents

func (x *Metrics) GetMemoryEvents() *MemoryEvents

func (*Metrics) GetPids

func (x *Metrics) GetPids() *PidsStat

func (*Metrics) GetRdma

func (x *Metrics) GetRdma() *RdmaStat

func (*Metrics) ProtoMessage

func (*Metrics) ProtoMessage()

func (*Metrics) ProtoReflect

func (x *Metrics) ProtoReflect() protoreflect.Message

func (*Metrics) Reset

func (x *Metrics) Reset()

func (*Metrics) String

func (x *Metrics) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PidsStat.ProtoReflect.Descriptor instead.

func (*PidsStat) GetCurrent

func (x *PidsStat) GetCurrent() uint64

func (*PidsStat) GetLimit

func (x *PidsStat) GetLimit() uint64

func (*PidsStat) ProtoMessage

func (*PidsStat) ProtoMessage()

func (*PidsStat) ProtoReflect

func (x *PidsStat) ProtoReflect() protoreflect.Message

func (*PidsStat) Reset

func (x *PidsStat) Reset()

func (*PidsStat) String

func (x *PidsStat) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use RdmaEntry.ProtoReflect.Descriptor instead.

func (*RdmaEntry) GetDevice

func (x *RdmaEntry) GetDevice() string

func (*RdmaEntry) GetHcaHandles

func (x *RdmaEntry) GetHcaHandles() uint32

func (*RdmaEntry) GetHcaObjects

func (x *RdmaEntry) GetHcaObjects() uint32

func (*RdmaEntry) ProtoMessage

func (*RdmaEntry) ProtoMessage()

func (*RdmaEntry) ProtoReflect

func (x *RdmaEntry) ProtoReflect() protoreflect.Message

func (*RdmaEntry) Reset

func (x *RdmaEntry) Reset()

func (*RdmaEntry) String

func (x *RdmaEntry) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use RdmaStat.ProtoReflect.Descriptor instead.

func (*RdmaStat) GetCurrent

func (x *RdmaStat) GetCurrent() []*RdmaEntry

func (*RdmaStat) GetLimit

func (x *RdmaStat) GetLimit() []*RdmaEntry

func (*RdmaStat) ProtoMessage

func (*RdmaStat) ProtoMessage()

func (*RdmaStat) ProtoReflect

func (x *RdmaStat) ProtoReflect() protoreflect.Message

func (*RdmaStat) Reset

func (x *RdmaStat) Reset()

func (*RdmaStat) String

func (x *RdmaStat) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL