Documentation ¶
Overview ¶
Package com_hailocab_kernel_platform_endpointmetrics is a generated protocol buffer package.
It is generated from these files:
github.com/hailocab/h2/go/internal/p/proto/endpointsample/endpointmetric.proto
It has these top-level messages:
EndpointMetrics EndpointSample
Index ¶
- type EndpointMetrics
- func (m *EndpointMetrics) GetEndpointName() string
- func (m *EndpointMetrics) GetErrorSample() *EndpointSample
- func (m *EndpointMetrics) GetInstanceId() string
- func (m *EndpointMetrics) GetServiceName() string
- func (m *EndpointMetrics) GetSuccessSample() *EndpointSample
- func (m *EndpointMetrics) GetTimestamp() int64
- func (*EndpointMetrics) ProtoMessage()
- func (m *EndpointMetrics) Reset()
- func (m *EndpointMetrics) String() string
- type EndpointSample
- func (m *EndpointSample) GetMean() float32
- func (m *EndpointSample) GetRate1() float32
- func (m *EndpointSample) GetRate15() float32
- func (m *EndpointSample) GetRate5() float32
- func (m *EndpointSample) GetStdDev() float32
- func (m *EndpointSample) GetUpper95() float32
- func (*EndpointSample) ProtoMessage()
- func (m *EndpointSample) Reset()
- func (m *EndpointSample) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointMetrics ¶
type EndpointMetrics struct { ServiceName *string `protobuf:"bytes,1,req,name=serviceName" json:"serviceName,omitempty"` EndpointName *string `protobuf:"bytes,2,req,name=endpointName" json:"endpointName,omitempty"` InstanceId *string `protobuf:"bytes,3,req,name=instanceId" json:"instanceId,omitempty"` Timestamp *int64 `protobuf:"varint,4,req,name=timestamp" json:"timestamp,omitempty"` SuccessSample *EndpointSample `protobuf:"bytes,5,req,name=successSample" json:"successSample,omitempty"` ErrorSample *EndpointSample `protobuf:"bytes,6,req,name=errorSample" json:"errorSample,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EndpointMetrics) GetEndpointName ¶
func (m *EndpointMetrics) GetEndpointName() string
func (*EndpointMetrics) GetErrorSample ¶
func (m *EndpointMetrics) GetErrorSample() *EndpointSample
func (*EndpointMetrics) GetInstanceId ¶
func (m *EndpointMetrics) GetInstanceId() string
func (*EndpointMetrics) GetServiceName ¶
func (m *EndpointMetrics) GetServiceName() string
func (*EndpointMetrics) GetSuccessSample ¶
func (m *EndpointMetrics) GetSuccessSample() *EndpointSample
func (*EndpointMetrics) GetTimestamp ¶
func (m *EndpointMetrics) GetTimestamp() int64
func (*EndpointMetrics) ProtoMessage ¶
func (*EndpointMetrics) ProtoMessage()
func (*EndpointMetrics) Reset ¶
func (m *EndpointMetrics) Reset()
func (*EndpointMetrics) String ¶
func (m *EndpointMetrics) String() string
type EndpointSample ¶
type EndpointSample struct { Rate1 *float32 `protobuf:"fixed32,1,req,name=rate1" json:"rate1,omitempty"` Rate5 *float32 `protobuf:"fixed32,2,req,name=rate5" json:"rate5,omitempty"` Rate15 *float32 `protobuf:"fixed32,3,req,name=rate15" json:"rate15,omitempty"` Mean *float32 `protobuf:"fixed32,4,req,name=mean" json:"mean,omitempty"` StdDev *float32 `protobuf:"fixed32,5,req,name=stdDev" json:"stdDev,omitempty"` Upper95 *float32 `protobuf:"fixed32,6,req,name=upper95" json:"upper95,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EndpointSample) GetMean ¶
func (m *EndpointSample) GetMean() float32
func (*EndpointSample) GetRate1 ¶
func (m *EndpointSample) GetRate1() float32
func (*EndpointSample) GetRate15 ¶
func (m *EndpointSample) GetRate15() float32
func (*EndpointSample) GetRate5 ¶
func (m *EndpointSample) GetRate5() float32
func (*EndpointSample) GetStdDev ¶
func (m *EndpointSample) GetStdDev() float32
func (*EndpointSample) GetUpper95 ¶
func (m *EndpointSample) GetUpper95() float32
func (*EndpointSample) ProtoMessage ¶
func (*EndpointSample) ProtoMessage()
func (*EndpointSample) Reset ¶
func (m *EndpointSample) Reset()
func (*EndpointSample) String ¶
func (m *EndpointSample) String() string
Click to show internal directories.
Click to hide internal directories.