orcav3

package
v1.33.0-20231212190139... 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_xds_data_orca_v3_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. The value may be
	// larger than 1.0 when the usage exceeds the reporter dependent notion of
	// soft limits.
	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.
	// Deprecated -- use “rps_fractional“ field instead.
	//
	// Deprecated: Marked as deprecated in xds/data/orca/v3/orca_load_report.proto.
	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 */
	// Total RPS being served by an endpoint. This should cover all services that an endpoint is
	// responsible for.
	RpsFractional float64 `protobuf:"fixed64,6,opt,name=rps_fractional,json=rpsFractional,proto3" json:"rps_fractional,omitempty"`
	// Total EPS (errors/second) being served by an endpoint. This should cover
	// all services that an endpoint is responsible for.
	Eps float64 `protobuf:"fixed64,7,opt,name=eps,proto3" json:"eps,omitempty"`
	// Application specific opaque metrics.
	NamedMetrics map[string]float64 `` /* 187-byte string literal not displayed */
	// Application specific utilization expressed as a fraction of available
	// resources. For example, an application may report the max of CPU and memory
	// utilization for better load balancing if it is both CPU and memory bound.
	// This should be derived from the latest sample or measurement.
	// The value may be larger than 1.0 when the usage exceeds the reporter
	// dependent notion of soft limits.
	ApplicationUtilization float64 `` /* 129-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) GetApplicationUtilization

func (x *OrcaLoadReport) GetApplicationUtilization() float64

func (*OrcaLoadReport) GetCpuUtilization

func (x *OrcaLoadReport) GetCpuUtilization() float64

func (*OrcaLoadReport) GetEps

func (x *OrcaLoadReport) GetEps() float64

func (*OrcaLoadReport) GetMemUtilization

func (x *OrcaLoadReport) GetMemUtilization() float64

func (*OrcaLoadReport) GetNamedMetrics

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

func (*OrcaLoadReport) GetRequestCost

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

func (*OrcaLoadReport) GetRps deprecated

func (x *OrcaLoadReport) GetRps() uint64

Deprecated: Marked as deprecated in xds/data/orca/v3/orca_load_report.proto.

func (*OrcaLoadReport) GetRpsFractional

func (x *OrcaLoadReport) GetRpsFractional() float64

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