orcav1

package
v1.33.0-20240422202033... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_udpa_data_orca_v1_orca_load_report_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type OrcaLoadReport

type OrcaLoadReport struct {

	// CPU utilization expressed as a fraction of available CPU resources. This
	// should be derived from the latest sample or measurement.
	CpuUtilization float64 `protobuf:"fixed64,1,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"`
	// Memory utilization expressed as a fraction of available memory
	// resources. This should be derived from the latest sample or measurement.
	MemUtilization float64 `protobuf:"fixed64,2,opt,name=mem_utilization,json=memUtilization,proto3" json:"mem_utilization,omitempty"`
	// Total RPS being served by an endpoint. This should cover all services that an endpoint is
	// responsible for.
	Rps uint64 `protobuf:"varint,3,opt,name=rps,proto3" json:"rps,omitempty"`
	// Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
	// storage) associated with the request.
	RequestCost map[string]float64 `` /* 184-byte string literal not displayed */
	// Resource utilization values. Each value is expressed as a fraction of total resources
	// available, derived from the latest sample or measurement.
	Utilization map[string]float64 `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OrcaLoadReport) Descriptor deprecated

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

Deprecated: Use OrcaLoadReport.ProtoReflect.Descriptor instead.

func (*OrcaLoadReport) GetCpuUtilization

func (x *OrcaLoadReport) GetCpuUtilization() float64

func (*OrcaLoadReport) GetMemUtilization

func (x *OrcaLoadReport) GetMemUtilization() float64

func (*OrcaLoadReport) GetRequestCost

func (x *OrcaLoadReport) GetRequestCost() map[string]float64

func (*OrcaLoadReport) GetRps

func (x *OrcaLoadReport) GetRps() uint64

func (*OrcaLoadReport) GetUtilization

func (x *OrcaLoadReport) GetUtilization() map[string]float64

func (*OrcaLoadReport) ProtoMessage

func (*OrcaLoadReport) ProtoMessage()

func (*OrcaLoadReport) ProtoReflect

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

func (*OrcaLoadReport) Reset

func (x *OrcaLoadReport) Reset()

func (*OrcaLoadReport) String

func (x *OrcaLoadReport) String() string

Jump to

Keyboard shortcuts

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