stats

package
v0.0.0-...-43b96bc Latest Latest
Warning

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

Go to latest
Published: May 24, 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_cgroup1_stats_metrics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlkIOEntry

type BlkIOEntry struct {
	Op     string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"`
	Device string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	Major  uint64 `protobuf:"varint,3,opt,name=major,proto3" json:"major,omitempty"`
	Minor  uint64 `protobuf:"varint,4,opt,name=minor,proto3" json:"minor,omitempty"`
	Value  uint64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BlkIOEntry) Descriptor deprecated

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

Deprecated: Use BlkIOEntry.ProtoReflect.Descriptor instead.

func (*BlkIOEntry) GetDevice

func (x *BlkIOEntry) GetDevice() string

func (*BlkIOEntry) GetMajor

func (x *BlkIOEntry) GetMajor() uint64

func (*BlkIOEntry) GetMinor

func (x *BlkIOEntry) GetMinor() uint64

func (*BlkIOEntry) GetOp

func (x *BlkIOEntry) GetOp() string

func (*BlkIOEntry) GetValue

func (x *BlkIOEntry) GetValue() uint64

func (*BlkIOEntry) ProtoMessage

func (*BlkIOEntry) ProtoMessage()

func (*BlkIOEntry) ProtoReflect

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

func (*BlkIOEntry) Reset

func (x *BlkIOEntry) Reset()

func (*BlkIOEntry) String

func (x *BlkIOEntry) String() string

type BlkIOStat

type BlkIOStat struct {
	IoServiceBytesRecursive []*BlkIOEntry `` /* 134-byte string literal not displayed */
	IoServicedRecursive     []*BlkIOEntry `protobuf:"bytes,2,rep,name=io_serviced_recursive,json=ioServicedRecursive,proto3" json:"io_serviced_recursive,omitempty"`
	IoQueuedRecursive       []*BlkIOEntry `protobuf:"bytes,3,rep,name=io_queued_recursive,json=ioQueuedRecursive,proto3" json:"io_queued_recursive,omitempty"`
	IoServiceTimeRecursive  []*BlkIOEntry `` /* 131-byte string literal not displayed */
	IoWaitTimeRecursive     []*BlkIOEntry `protobuf:"bytes,5,rep,name=io_wait_time_recursive,json=ioWaitTimeRecursive,proto3" json:"io_wait_time_recursive,omitempty"`
	IoMergedRecursive       []*BlkIOEntry `protobuf:"bytes,6,rep,name=io_merged_recursive,json=ioMergedRecursive,proto3" json:"io_merged_recursive,omitempty"`
	IoTimeRecursive         []*BlkIOEntry `protobuf:"bytes,7,rep,name=io_time_recursive,json=ioTimeRecursive,proto3" json:"io_time_recursive,omitempty"`
	SectorsRecursive        []*BlkIOEntry `protobuf:"bytes,8,rep,name=sectors_recursive,json=sectorsRecursive,proto3" json:"sectors_recursive,omitempty"`
	// contains filtered or unexported fields
}

func (*BlkIOStat) Descriptor deprecated

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

Deprecated: Use BlkIOStat.ProtoReflect.Descriptor instead.

func (*BlkIOStat) GetIoMergedRecursive

func (x *BlkIOStat) GetIoMergedRecursive() []*BlkIOEntry

func (*BlkIOStat) GetIoQueuedRecursive

func (x *BlkIOStat) GetIoQueuedRecursive() []*BlkIOEntry

func (*BlkIOStat) GetIoServiceBytesRecursive

func (x *BlkIOStat) GetIoServiceBytesRecursive() []*BlkIOEntry

func (*BlkIOStat) GetIoServiceTimeRecursive

func (x *BlkIOStat) GetIoServiceTimeRecursive() []*BlkIOEntry

func (*BlkIOStat) GetIoServicedRecursive

func (x *BlkIOStat) GetIoServicedRecursive() []*BlkIOEntry

func (*BlkIOStat) GetIoTimeRecursive

func (x *BlkIOStat) GetIoTimeRecursive() []*BlkIOEntry

func (*BlkIOStat) GetIoWaitTimeRecursive

func (x *BlkIOStat) GetIoWaitTimeRecursive() []*BlkIOEntry

func (*BlkIOStat) GetSectorsRecursive

func (x *BlkIOStat) GetSectorsRecursive() []*BlkIOEntry

func (*BlkIOStat) ProtoMessage

func (*BlkIOStat) ProtoMessage()

func (*BlkIOStat) ProtoReflect

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

func (*BlkIOStat) Reset

func (x *BlkIOStat) Reset()

func (*BlkIOStat) String

func (x *BlkIOStat) String() string

type CPUStat

type CPUStat struct {
	Usage      *CPUUsage `protobuf:"bytes,1,opt,name=usage,proto3" json:"usage,omitempty"`
	Throttling *Throttle `protobuf:"bytes,2,opt,name=throttling,proto3" json:"throttling,omitempty"`
	// contains filtered or unexported fields
}

func (*CPUStat) Descriptor deprecated

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

Deprecated: Use CPUStat.ProtoReflect.Descriptor instead.

func (*CPUStat) GetThrottling

func (x *CPUStat) GetThrottling() *Throttle

func (*CPUStat) GetUsage

func (x *CPUStat) GetUsage() *CPUUsage

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 CPUUsage

type CPUUsage struct {

	// values in nanoseconds
	Total  uint64   `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Kernel uint64   `protobuf:"varint,2,opt,name=kernel,proto3" json:"kernel,omitempty"`
	User   uint64   `protobuf:"varint,3,opt,name=user,proto3" json:"user,omitempty"`
	PerCPU []uint64 `protobuf:"varint,4,rep,packed,name=per_cpu,json=perCpu,proto3" json:"per_cpu,omitempty"`
	// contains filtered or unexported fields
}

func (*CPUUsage) Descriptor deprecated

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

Deprecated: Use CPUUsage.ProtoReflect.Descriptor instead.

func (*CPUUsage) GetKernel

func (x *CPUUsage) GetKernel() uint64

func (*CPUUsage) GetPerCPU

func (x *CPUUsage) GetPerCPU() []uint64

func (*CPUUsage) GetTotal

func (x *CPUUsage) GetTotal() uint64

func (*CPUUsage) GetUser

func (x *CPUUsage) GetUser() uint64

func (*CPUUsage) ProtoMessage

func (*CPUUsage) ProtoMessage()

func (*CPUUsage) ProtoReflect

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

func (*CPUUsage) Reset

func (x *CPUUsage) Reset()

func (*CPUUsage) String

func (x *CPUUsage) String() string

type CgroupStats

type CgroupStats struct {

	// number of tasks sleeping
	NrSleeping uint64 `protobuf:"varint,1,opt,name=nr_sleeping,json=nrSleeping,proto3" json:"nr_sleeping,omitempty"`
	// number of tasks running
	NrRunning uint64 `protobuf:"varint,2,opt,name=nr_running,json=nrRunning,proto3" json:"nr_running,omitempty"`
	// number of tasks in stopped state
	NrStopped uint64 `protobuf:"varint,3,opt,name=nr_stopped,json=nrStopped,proto3" json:"nr_stopped,omitempty"`
	// number of tasks in uninterruptible state
	NrUninterruptible uint64 `protobuf:"varint,4,opt,name=nr_uninterruptible,json=nrUninterruptible,proto3" json:"nr_uninterruptible,omitempty"`
	// number of tasks waiting on IO
	NrIoWait uint64 `protobuf:"varint,5,opt,name=nr_io_wait,json=nrIoWait,proto3" json:"nr_io_wait,omitempty"`
	// contains filtered or unexported fields
}

CgroupStats exports per-cgroup statistics.

func (*CgroupStats) Descriptor deprecated

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

Deprecated: Use CgroupStats.ProtoReflect.Descriptor instead.

func (*CgroupStats) GetNrIoWait

func (x *CgroupStats) GetNrIoWait() uint64

func (*CgroupStats) GetNrRunning

func (x *CgroupStats) GetNrRunning() uint64

func (*CgroupStats) GetNrSleeping

func (x *CgroupStats) GetNrSleeping() uint64

func (*CgroupStats) GetNrStopped

func (x *CgroupStats) GetNrStopped() uint64

func (*CgroupStats) GetNrUninterruptible

func (x *CgroupStats) GetNrUninterruptible() uint64

func (*CgroupStats) ProtoMessage

func (*CgroupStats) ProtoMessage()

func (*CgroupStats) ProtoReflect

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

func (*CgroupStats) Reset

func (x *CgroupStats) Reset()

func (*CgroupStats) String

func (x *CgroupStats) String() string

type HugetlbStat

type HugetlbStat struct {
	Usage    uint64 `protobuf:"varint,1,opt,name=usage,proto3" json:"usage,omitempty"`
	Max      uint64 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	Failcnt  uint64 `protobuf:"varint,3,opt,name=failcnt,proto3" json:"failcnt,omitempty"`
	Pagesize string `protobuf:"bytes,4,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) GetFailcnt

func (x *HugetlbStat) GetFailcnt() uint64

func (*HugetlbStat) GetMax

func (x *HugetlbStat) GetMax() uint64

func (*HugetlbStat) GetPagesize

func (x *HugetlbStat) GetPagesize() string

func (*HugetlbStat) GetUsage

func (x *HugetlbStat) GetUsage() uint64

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 MemoryEntry

type MemoryEntry struct {
	Limit   uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Usage   uint64 `protobuf:"varint,2,opt,name=usage,proto3" json:"usage,omitempty"`
	Max     uint64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
	Failcnt uint64 `protobuf:"varint,4,opt,name=failcnt,proto3" json:"failcnt,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryEntry) Descriptor deprecated

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

Deprecated: Use MemoryEntry.ProtoReflect.Descriptor instead.

func (*MemoryEntry) GetFailcnt

func (x *MemoryEntry) GetFailcnt() uint64

func (*MemoryEntry) GetLimit

func (x *MemoryEntry) GetLimit() uint64

func (*MemoryEntry) GetMax

func (x *MemoryEntry) GetMax() uint64

func (*MemoryEntry) GetUsage

func (x *MemoryEntry) GetUsage() uint64

func (*MemoryEntry) ProtoMessage

func (*MemoryEntry) ProtoMessage()

func (*MemoryEntry) ProtoReflect

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

func (*MemoryEntry) Reset

func (x *MemoryEntry) Reset()

func (*MemoryEntry) String

func (x *MemoryEntry) String() string

type MemoryOomControl

type MemoryOomControl struct {
	OomKillDisable uint64 `protobuf:"varint,1,opt,name=oom_kill_disable,json=oomKillDisable,proto3" json:"oom_kill_disable,omitempty"`
	UnderOom       uint64 `protobuf:"varint,2,opt,name=under_oom,json=underOom,proto3" json:"under_oom,omitempty"`
	OomKill        uint64 `protobuf:"varint,3,opt,name=oom_kill,json=oomKill,proto3" json:"oom_kill,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryOomControl) Descriptor deprecated

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

Deprecated: Use MemoryOomControl.ProtoReflect.Descriptor instead.

func (*MemoryOomControl) GetOomKill

func (x *MemoryOomControl) GetOomKill() uint64

func (*MemoryOomControl) GetOomKillDisable

func (x *MemoryOomControl) GetOomKillDisable() uint64

func (*MemoryOomControl) GetUnderOom

func (x *MemoryOomControl) GetUnderOom() uint64

func (*MemoryOomControl) ProtoMessage

func (*MemoryOomControl) ProtoMessage()

func (*MemoryOomControl) ProtoReflect

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

func (*MemoryOomControl) Reset

func (x *MemoryOomControl) Reset()

func (*MemoryOomControl) String

func (x *MemoryOomControl) String() string

type MemoryStat

type MemoryStat struct {
	Cache                   uint64       `protobuf:"varint,1,opt,name=cache,proto3" json:"cache,omitempty"`
	RSS                     uint64       `protobuf:"varint,2,opt,name=rss,proto3" json:"rss,omitempty"`
	RSSHuge                 uint64       `protobuf:"varint,3,opt,name=rss_huge,json=rssHuge,proto3" json:"rss_huge,omitempty"`
	MappedFile              uint64       `protobuf:"varint,4,opt,name=mapped_file,json=mappedFile,proto3" json:"mapped_file,omitempty"`
	Dirty                   uint64       `protobuf:"varint,5,opt,name=dirty,proto3" json:"dirty,omitempty"`
	Writeback               uint64       `protobuf:"varint,6,opt,name=writeback,proto3" json:"writeback,omitempty"`
	PgPgIn                  uint64       `protobuf:"varint,7,opt,name=pg_pg_in,json=pgPgIn,proto3" json:"pg_pg_in,omitempty"`
	PgPgOut                 uint64       `protobuf:"varint,8,opt,name=pg_pg_out,json=pgPgOut,proto3" json:"pg_pg_out,omitempty"`
	PgFault                 uint64       `protobuf:"varint,9,opt,name=pg_fault,json=pgFault,proto3" json:"pg_fault,omitempty"`
	PgMajFault              uint64       `protobuf:"varint,10,opt,name=pg_maj_fault,json=pgMajFault,proto3" json:"pg_maj_fault,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"`
	HierarchicalMemoryLimit uint64       `` /* 134-byte string literal not displayed */
	HierarchicalSwapLimit   uint64       `` /* 128-byte string literal not displayed */
	TotalCache              uint64       `protobuf:"varint,18,opt,name=total_cache,json=totalCache,proto3" json:"total_cache,omitempty"`
	TotalRSS                uint64       `protobuf:"varint,19,opt,name=total_rss,json=totalRss,proto3" json:"total_rss,omitempty"`
	TotalRSSHuge            uint64       `protobuf:"varint,20,opt,name=total_rss_huge,json=totalRssHuge,proto3" json:"total_rss_huge,omitempty"`
	TotalMappedFile         uint64       `protobuf:"varint,21,opt,name=total_mapped_file,json=totalMappedFile,proto3" json:"total_mapped_file,omitempty"`
	TotalDirty              uint64       `protobuf:"varint,22,opt,name=total_dirty,json=totalDirty,proto3" json:"total_dirty,omitempty"`
	TotalWriteback          uint64       `protobuf:"varint,23,opt,name=total_writeback,json=totalWriteback,proto3" json:"total_writeback,omitempty"`
	TotalPgPgIn             uint64       `protobuf:"varint,24,opt,name=total_pg_pg_in,json=totalPgPgIn,proto3" json:"total_pg_pg_in,omitempty"`
	TotalPgPgOut            uint64       `protobuf:"varint,25,opt,name=total_pg_pg_out,json=totalPgPgOut,proto3" json:"total_pg_pg_out,omitempty"`
	TotalPgFault            uint64       `protobuf:"varint,26,opt,name=total_pg_fault,json=totalPgFault,proto3" json:"total_pg_fault,omitempty"`
	TotalPgMajFault         uint64       `protobuf:"varint,27,opt,name=total_pg_maj_fault,json=totalPgMajFault,proto3" json:"total_pg_maj_fault,omitempty"`
	TotalInactiveAnon       uint64       `protobuf:"varint,28,opt,name=total_inactive_anon,json=totalInactiveAnon,proto3" json:"total_inactive_anon,omitempty"`
	TotalActiveAnon         uint64       `protobuf:"varint,29,opt,name=total_active_anon,json=totalActiveAnon,proto3" json:"total_active_anon,omitempty"`
	TotalInactiveFile       uint64       `protobuf:"varint,30,opt,name=total_inactive_file,json=totalInactiveFile,proto3" json:"total_inactive_file,omitempty"`
	TotalActiveFile         uint64       `protobuf:"varint,31,opt,name=total_active_file,json=totalActiveFile,proto3" json:"total_active_file,omitempty"`
	TotalUnevictable        uint64       `protobuf:"varint,32,opt,name=total_unevictable,json=totalUnevictable,proto3" json:"total_unevictable,omitempty"`
	Usage                   *MemoryEntry `protobuf:"bytes,33,opt,name=usage,proto3" json:"usage,omitempty"`
	Swap                    *MemoryEntry `protobuf:"bytes,34,opt,name=swap,proto3" json:"swap,omitempty"`
	Kernel                  *MemoryEntry `protobuf:"bytes,35,opt,name=kernel,proto3" json:"kernel,omitempty"`
	KernelTCP               *MemoryEntry `protobuf:"bytes,36,opt,name=kernel_tcp,json=kernelTcp,proto3" json:"kernel_tcp,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) GetCache

func (x *MemoryStat) GetCache() uint64

func (*MemoryStat) GetDirty

func (x *MemoryStat) GetDirty() uint64

func (*MemoryStat) GetHierarchicalMemoryLimit

func (x *MemoryStat) GetHierarchicalMemoryLimit() uint64

func (*MemoryStat) GetHierarchicalSwapLimit

func (x *MemoryStat) GetHierarchicalSwapLimit() uint64

func (*MemoryStat) GetInactiveAnon

func (x *MemoryStat) GetInactiveAnon() uint64

func (*MemoryStat) GetInactiveFile

func (x *MemoryStat) GetInactiveFile() uint64

func (*MemoryStat) GetKernel

func (x *MemoryStat) GetKernel() *MemoryEntry

func (*MemoryStat) GetKernelTCP

func (x *MemoryStat) GetKernelTCP() *MemoryEntry

func (*MemoryStat) GetMappedFile

func (x *MemoryStat) GetMappedFile() uint64

func (*MemoryStat) GetPgFault

func (x *MemoryStat) GetPgFault() uint64

func (*MemoryStat) GetPgMajFault

func (x *MemoryStat) GetPgMajFault() uint64

func (*MemoryStat) GetPgPgIn

func (x *MemoryStat) GetPgPgIn() uint64

func (*MemoryStat) GetPgPgOut

func (x *MemoryStat) GetPgPgOut() uint64

func (*MemoryStat) GetRSS

func (x *MemoryStat) GetRSS() uint64

func (*MemoryStat) GetRSSHuge

func (x *MemoryStat) GetRSSHuge() uint64

func (*MemoryStat) GetSwap

func (x *MemoryStat) GetSwap() *MemoryEntry

func (*MemoryStat) GetTotalActiveAnon

func (x *MemoryStat) GetTotalActiveAnon() uint64

func (*MemoryStat) GetTotalActiveFile

func (x *MemoryStat) GetTotalActiveFile() uint64

func (*MemoryStat) GetTotalCache

func (x *MemoryStat) GetTotalCache() uint64

func (*MemoryStat) GetTotalDirty

func (x *MemoryStat) GetTotalDirty() uint64

func (*MemoryStat) GetTotalInactiveAnon

func (x *MemoryStat) GetTotalInactiveAnon() uint64

func (*MemoryStat) GetTotalInactiveFile

func (x *MemoryStat) GetTotalInactiveFile() uint64

func (*MemoryStat) GetTotalMappedFile

func (x *MemoryStat) GetTotalMappedFile() uint64

func (*MemoryStat) GetTotalPgFault

func (x *MemoryStat) GetTotalPgFault() uint64

func (*MemoryStat) GetTotalPgMajFault

func (x *MemoryStat) GetTotalPgMajFault() uint64

func (*MemoryStat) GetTotalPgPgIn

func (x *MemoryStat) GetTotalPgPgIn() uint64

func (*MemoryStat) GetTotalPgPgOut

func (x *MemoryStat) GetTotalPgPgOut() uint64

func (*MemoryStat) GetTotalRSS

func (x *MemoryStat) GetTotalRSS() uint64

func (*MemoryStat) GetTotalRSSHuge

func (x *MemoryStat) GetTotalRSSHuge() uint64

func (*MemoryStat) GetTotalUnevictable

func (x *MemoryStat) GetTotalUnevictable() uint64

func (*MemoryStat) GetTotalWriteback

func (x *MemoryStat) GetTotalWriteback() uint64

func (*MemoryStat) GetUnevictable

func (x *MemoryStat) GetUnevictable() uint64

func (*MemoryStat) GetUsage

func (x *MemoryStat) GetUsage() *MemoryEntry

func (*MemoryStat) GetWriteback

func (x *MemoryStat) GetWriteback() 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 {
	Hugetlb          []*HugetlbStat    `protobuf:"bytes,1,rep,name=hugetlb,proto3" json:"hugetlb,omitempty"`
	Pids             *PidsStat         `protobuf:"bytes,2,opt,name=pids,proto3" json:"pids,omitempty"`
	CPU              *CPUStat          `protobuf:"bytes,3,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory           *MemoryStat       `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory,omitempty"`
	Blkio            *BlkIOStat        `protobuf:"bytes,5,opt,name=blkio,proto3" json:"blkio,omitempty"`
	Rdma             *RdmaStat         `protobuf:"bytes,6,opt,name=rdma,proto3" json:"rdma,omitempty"`
	Network          []*NetworkStat    `protobuf:"bytes,7,rep,name=network,proto3" json:"network,omitempty"`
	CgroupStats      *CgroupStats      `protobuf:"bytes,8,opt,name=cgroup_stats,json=cgroupStats,proto3" json:"cgroup_stats,omitempty"`
	MemoryOomControl *MemoryOomControl `protobuf:"bytes,9,opt,name=memory_oom_control,json=memoryOomControl,proto3" json:"memory_oom_control,omitempty"`
	// contains filtered or unexported fields
}

func (*Metrics) Descriptor deprecated

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

Deprecated: Use Metrics.ProtoReflect.Descriptor instead.

func (*Metrics) GetBlkio

func (x *Metrics) GetBlkio() *BlkIOStat

func (*Metrics) GetCPU

func (x *Metrics) GetCPU() *CPUStat

func (*Metrics) GetCgroupStats

func (x *Metrics) GetCgroupStats() *CgroupStats

func (*Metrics) GetHugetlb

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

func (*Metrics) GetMemory

func (x *Metrics) GetMemory() *MemoryStat

func (*Metrics) GetMemoryOomControl

func (x *Metrics) GetMemoryOomControl() *MemoryOomControl

func (*Metrics) GetNetwork

func (x *Metrics) GetNetwork() []*NetworkStat

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 NetworkStat

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

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

Deprecated: Use NetworkStat.ProtoReflect.Descriptor instead.

func (*NetworkStat) GetName

func (x *NetworkStat) GetName() string

func (*NetworkStat) GetRxBytes

func (x *NetworkStat) GetRxBytes() uint64

func (*NetworkStat) GetRxDropped

func (x *NetworkStat) GetRxDropped() uint64

func (*NetworkStat) GetRxErrors

func (x *NetworkStat) GetRxErrors() uint64

func (*NetworkStat) GetRxPackets

func (x *NetworkStat) GetRxPackets() uint64

func (*NetworkStat) GetTxBytes

func (x *NetworkStat) GetTxBytes() uint64

func (*NetworkStat) GetTxDropped

func (x *NetworkStat) GetTxDropped() uint64

func (*NetworkStat) GetTxErrors

func (x *NetworkStat) GetTxErrors() uint64

func (*NetworkStat) GetTxPackets

func (x *NetworkStat) GetTxPackets() uint64

func (*NetworkStat) ProtoMessage

func (*NetworkStat) ProtoMessage()

func (*NetworkStat) ProtoReflect

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

func (*NetworkStat) Reset

func (x *NetworkStat) Reset()

func (*NetworkStat) String

func (x *NetworkStat) 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

type Throttle

type Throttle struct {
	Periods          uint64 `protobuf:"varint,1,opt,name=periods,proto3" json:"periods,omitempty"`
	ThrottledPeriods uint64 `protobuf:"varint,2,opt,name=throttled_periods,json=throttledPeriods,proto3" json:"throttled_periods,omitempty"`
	ThrottledTime    uint64 `protobuf:"varint,3,opt,name=throttled_time,json=throttledTime,proto3" json:"throttled_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Throttle) Descriptor deprecated

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

Deprecated: Use Throttle.ProtoReflect.Descriptor instead.

func (*Throttle) GetPeriods

func (x *Throttle) GetPeriods() uint64

func (*Throttle) GetThrottledPeriods

func (x *Throttle) GetThrottledPeriods() uint64

func (*Throttle) GetThrottledTime

func (x *Throttle) GetThrottledTime() uint64

func (*Throttle) ProtoMessage

func (*Throttle) ProtoMessage()

func (*Throttle) ProtoReflect

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

func (*Throttle) Reset

func (x *Throttle) Reset()

func (*Throttle) String

func (x *Throttle) String() string

Jump to

Keyboard shortcuts

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