grpc: google.golang.org/grpc/xds/internal/proto/udpa/data/orca/v1 Index | Files

package udpa_data_orca_v1

import "google.golang.org/grpc/xds/internal/proto/udpa/data/orca/v1"

Index

Package Files

orca_load_report.pb.go

type OrcaLoadReport Uses

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 `protobuf:"bytes,4,rep,name=request_cost,json=requestCost,proto3" json:"request_cost,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
    // 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 `protobuf:"bytes,5,rep,name=utilization,proto3" json:"utilization,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

func (*OrcaLoadReport) Descriptor Uses

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

func (*OrcaLoadReport) GetCpuUtilization Uses

func (m *OrcaLoadReport) GetCpuUtilization() float64

func (*OrcaLoadReport) GetMemUtilization Uses

func (m *OrcaLoadReport) GetMemUtilization() float64

func (*OrcaLoadReport) GetRequestCost Uses

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

func (*OrcaLoadReport) GetRps Uses

func (m *OrcaLoadReport) GetRps() uint64

func (*OrcaLoadReport) GetUtilization Uses

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

func (*OrcaLoadReport) ProtoMessage Uses

func (*OrcaLoadReport) ProtoMessage()

func (*OrcaLoadReport) Reset Uses

func (m *OrcaLoadReport) Reset()

func (*OrcaLoadReport) String Uses

func (m *OrcaLoadReport) String() string

func (*OrcaLoadReport) XXX_DiscardUnknown Uses

func (m *OrcaLoadReport) XXX_DiscardUnknown()

func (*OrcaLoadReport) XXX_Marshal Uses

func (m *OrcaLoadReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrcaLoadReport) XXX_Merge Uses

func (m *OrcaLoadReport) XXX_Merge(src proto.Message)

func (*OrcaLoadReport) XXX_Size Uses

func (m *OrcaLoadReport) XXX_Size() int

func (*OrcaLoadReport) XXX_Unmarshal Uses

func (m *OrcaLoadReport) XXX_Unmarshal(b []byte) error

Package udpa_data_orca_v1 imports 4 packages (graph) and is imported by 2 packages. Updated 2019-10-31. Refresh now. Tools for package owners.