stats

package
v1.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_stats_stats_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CpuStats

type CpuStats struct {
	CpuUtilizationPercent float64 `` /* 128-byte string literal not displayed */
	CpuCount              int64   `protobuf:"varint,2,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
	CpuCores              int64   `protobuf:"varint,3,opt,name=cpu_cores,json=cpuCores,proto3" json:"cpu_cores,omitempty"`
	MaxMhz                int64   `protobuf:"varint,4,opt,name=max_mhz,json=maxMhz,proto3" json:"max_mhz,omitempty"`
	ProcessorType         string  `protobuf:"bytes,5,opt,name=processor_type,json=processorType,proto3" json:"processor_type,omitempty"`
	// contains filtered or unexported fields
}

func (*CpuStats) Descriptor deprecated

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

Deprecated: Use CpuStats.ProtoReflect.Descriptor instead.

func (*CpuStats) GetCpuCores

func (x *CpuStats) GetCpuCores() int64

func (*CpuStats) GetCpuCount

func (x *CpuStats) GetCpuCount() int64

func (*CpuStats) GetCpuUtilizationPercent

func (x *CpuStats) GetCpuUtilizationPercent() float64

func (*CpuStats) GetMaxMhz

func (x *CpuStats) GetMaxMhz() int64

func (*CpuStats) GetProcessorType

func (x *CpuStats) GetProcessorType() string

func (*CpuStats) ProtoMessage

func (*CpuStats) ProtoMessage()

func (*CpuStats) ProtoReflect

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

func (*CpuStats) Reset

func (x *CpuStats) Reset()

func (*CpuStats) String

func (x *CpuStats) String() string

type DiskStats

type DiskStats struct {
	DeviceName                     string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	QueueLength                    int64  `protobuf:"varint,2,opt,name=queue_length,json=queueLength,proto3" json:"queue_length,omitempty"`
	AverageReadResponseTimeMillis  int64  `` /* 155-byte string literal not displayed */
	AverageWriteResponseTimeMillis int64  `` /* 158-byte string literal not displayed */
	ReadOpsCount                   int64  `protobuf:"varint,5,opt,name=read_ops_count,json=readOpsCount,proto3" json:"read_ops_count,omitempty"`
	ReadSvcTimeMillis              int64  `protobuf:"varint,6,opt,name=read_svc_time_millis,json=readSvcTimeMillis,proto3" json:"read_svc_time_millis,omitempty"`
	WriteOpsCount                  int64  `protobuf:"varint,7,opt,name=write_ops_count,json=writeOpsCount,proto3" json:"write_ops_count,omitempty"`
	WriteSvcTimeMillis             int64  `protobuf:"varint,8,opt,name=write_svc_time_millis,json=writeSvcTimeMillis,proto3" json:"write_svc_time_millis,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskStats) Descriptor deprecated

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

Deprecated: Use DiskStats.ProtoReflect.Descriptor instead.

func (*DiskStats) GetAverageReadResponseTimeMillis

func (x *DiskStats) GetAverageReadResponseTimeMillis() int64

func (*DiskStats) GetAverageWriteResponseTimeMillis

func (x *DiskStats) GetAverageWriteResponseTimeMillis() int64

func (*DiskStats) GetDeviceName

func (x *DiskStats) GetDeviceName() string

func (*DiskStats) GetQueueLength

func (x *DiskStats) GetQueueLength() int64

func (*DiskStats) GetReadOpsCount

func (x *DiskStats) GetReadOpsCount() int64

func (*DiskStats) GetReadSvcTimeMillis

func (x *DiskStats) GetReadSvcTimeMillis() int64

func (*DiskStats) GetWriteOpsCount

func (x *DiskStats) GetWriteOpsCount() int64

func (*DiskStats) GetWriteSvcTimeMillis

func (x *DiskStats) GetWriteSvcTimeMillis() int64

func (*DiskStats) ProtoMessage

func (*DiskStats) ProtoMessage()

func (*DiskStats) ProtoReflect

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

func (*DiskStats) Reset

func (x *DiskStats) Reset()

func (*DiskStats) String

func (x *DiskStats) String() string

type DiskStatsCollection

type DiskStatsCollection struct {
	DiskStats []*DiskStats `protobuf:"bytes,1,rep,name=disk_stats,json=diskStats,proto3" json:"disk_stats,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskStatsCollection) Descriptor deprecated

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

Deprecated: Use DiskStatsCollection.ProtoReflect.Descriptor instead.

func (*DiskStatsCollection) GetDiskStats

func (x *DiskStatsCollection) GetDiskStats() []*DiskStats

func (*DiskStatsCollection) ProtoMessage

func (*DiskStatsCollection) ProtoMessage()

func (*DiskStatsCollection) ProtoReflect

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

func (*DiskStatsCollection) Reset

func (x *DiskStatsCollection) Reset()

func (*DiskStatsCollection) String

func (x *DiskStatsCollection) String() string

type MemoryStats

type MemoryStats struct {
	Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Free  int64 `protobuf:"varint,2,opt,name=free,proto3" json:"free,omitempty"`
	Used  int64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryStats) Descriptor deprecated

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

Deprecated: Use MemoryStats.ProtoReflect.Descriptor instead.

func (*MemoryStats) GetFree

func (x *MemoryStats) GetFree() int64

func (*MemoryStats) GetTotal

func (x *MemoryStats) GetTotal() int64

func (*MemoryStats) GetUsed

func (x *MemoryStats) GetUsed() int64

func (*MemoryStats) ProtoMessage

func (*MemoryStats) ProtoMessage()

func (*MemoryStats) ProtoReflect

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

func (*MemoryStats) Reset

func (x *MemoryStats) Reset()

func (*MemoryStats) String

func (x *MemoryStats) String() string

Jump to

Keyboard shortcuts

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