Documentation ¶
Overview ¶
Package com_hailocab_kernel_platform_stats is a generated protocol buffer package.
It is generated from these files:
github.com/hailocab/h2/go/internal/p/proto/stats/stats.proto
It has these top-level messages:
EndpointSLA EndpointStat EndpointStats RusageStats RuntimeStats PlatformStats Request
Index ¶
- type EndpointSLA
- type EndpointStat
- func (m *EndpointStat) GetMean() float32
- func (m *EndpointStat) GetRate1() float32
- func (m *EndpointStat) GetRate15() float32
- func (m *EndpointStat) GetRate5() float32
- func (m *EndpointStat) GetStdDev() float32
- func (m *EndpointStat) GetUpper95() float32
- func (*EndpointStat) ProtoMessage()
- func (m *EndpointStat) Reset()
- func (m *EndpointStat) String() string
- type EndpointStats
- func (m *EndpointStats) GetEndpointName() string
- func (m *EndpointStats) GetError() *EndpointStat
- func (m *EndpointStats) GetSla() *EndpointSLA
- func (m *EndpointStats) GetSuccess() *EndpointStat
- func (*EndpointStats) ProtoMessage()
- func (m *EndpointStats) Reset()
- func (m *EndpointStats) String() string
- type PlatformStats
- func (m *PlatformStats) GetAzName() string
- func (m *PlatformStats) GetEndpoints() []*EndpointStats
- func (m *PlatformStats) GetHostname() string
- func (m *PlatformStats) GetInstanceId() string
- func (m *PlatformStats) GetRuntime() *RuntimeStats
- func (m *PlatformStats) GetRusage() *RusageStats
- func (m *PlatformStats) GetServiceName() string
- func (m *PlatformStats) GetServiceType() string
- func (m *PlatformStats) GetServiceVersion() uint64
- func (m *PlatformStats) GetStatus() string
- func (m *PlatformStats) GetTimestamp() int64
- func (m *PlatformStats) GetUptime() int64
- func (*PlatformStats) ProtoMessage()
- func (m *PlatformStats) Reset()
- func (m *PlatformStats) String() string
- type Request
- type RuntimeStats
- func (m *RuntimeStats) GetHeapInUse() uint64
- func (m *RuntimeStats) GetHeapReleased() uint64
- func (m *RuntimeStats) GetHeapTotal() uint64
- func (m *RuntimeStats) GetLastGCDuration() uint64
- func (m *RuntimeStats) GetNumGC() uint32
- func (m *RuntimeStats) GetNumGoRoutines() uint32
- func (*RuntimeStats) ProtoMessage()
- func (m *RuntimeStats) Reset()
- func (m *RuntimeStats) String() string
- type RusageStats
- func (m *RusageStats) GetInBlock() int64
- func (m *RusageStats) GetMaxRss() int64
- func (m *RusageStats) GetOuBlock() int64
- func (m *RusageStats) GetSystemTime() float32
- func (m *RusageStats) GetUserTime() float32
- func (*RusageStats) ProtoMessage()
- func (m *RusageStats) Reset()
- func (m *RusageStats) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointSLA ¶
type EndpointSLA struct { Mean *float32 `protobuf:"fixed32,1,req,name=mean" json:"mean,omitempty"` Upper95 *float32 `protobuf:"fixed32,2,req,name=upper95" json:"upper95,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EndpointSLA) GetMean ¶
func (m *EndpointSLA) GetMean() float32
func (*EndpointSLA) GetUpper95 ¶
func (m *EndpointSLA) GetUpper95() float32
func (*EndpointSLA) ProtoMessage ¶
func (*EndpointSLA) ProtoMessage()
func (*EndpointSLA) Reset ¶
func (m *EndpointSLA) Reset()
func (*EndpointSLA) String ¶
func (m *EndpointSLA) String() string
type EndpointStat ¶
type EndpointStat 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 (*EndpointStat) GetMean ¶
func (m *EndpointStat) GetMean() float32
func (*EndpointStat) GetRate1 ¶
func (m *EndpointStat) GetRate1() float32
func (*EndpointStat) GetRate15 ¶
func (m *EndpointStat) GetRate15() float32
func (*EndpointStat) GetRate5 ¶
func (m *EndpointStat) GetRate5() float32
func (*EndpointStat) GetStdDev ¶
func (m *EndpointStat) GetStdDev() float32
func (*EndpointStat) GetUpper95 ¶
func (m *EndpointStat) GetUpper95() float32
func (*EndpointStat) ProtoMessage ¶
func (*EndpointStat) ProtoMessage()
func (*EndpointStat) Reset ¶
func (m *EndpointStat) Reset()
func (*EndpointStat) String ¶
func (m *EndpointStat) String() string
type EndpointStats ¶
type EndpointStats struct { EndpointName *string `protobuf:"bytes,1,req,name=endpointName" json:"endpointName,omitempty"` Sla *EndpointSLA `protobuf:"bytes,2,req,name=sla" json:"sla,omitempty"` Success *EndpointStat `protobuf:"bytes,3,req,name=success" json:"success,omitempty"` Error *EndpointStat `protobuf:"bytes,4,req,name=error" json:"error,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EndpointStats) GetEndpointName ¶
func (m *EndpointStats) GetEndpointName() string
func (*EndpointStats) GetError ¶
func (m *EndpointStats) GetError() *EndpointStat
func (*EndpointStats) GetSla ¶
func (m *EndpointStats) GetSla() *EndpointSLA
func (*EndpointStats) GetSuccess ¶
func (m *EndpointStats) GetSuccess() *EndpointStat
func (*EndpointStats) ProtoMessage ¶
func (*EndpointStats) ProtoMessage()
func (*EndpointStats) Reset ¶
func (m *EndpointStats) Reset()
func (*EndpointStats) String ¶
func (m *EndpointStats) String() string
type PlatformStats ¶
type PlatformStats struct { ServiceName *string `protobuf:"bytes,1,req,name=serviceName" json:"serviceName,omitempty"` ServiceVersion *uint64 `protobuf:"varint,2,req,name=serviceVersion" json:"serviceVersion,omitempty"` Hostname *string `protobuf:"bytes,3,req,name=hostname" json:"hostname,omitempty"` InstanceId *string `protobuf:"bytes,4,req,name=instanceId" json:"instanceId,omitempty"` Status *string `protobuf:"bytes,5,req,name=status" json:"status,omitempty"` Timestamp *int64 `protobuf:"varint,6,req,name=timestamp" json:"timestamp,omitempty"` Uptime *int64 `protobuf:"varint,7,req,name=uptime" json:"uptime,omitempty"` Rusage *RusageStats `protobuf:"bytes,8,req,name=rusage" json:"rusage,omitempty"` Runtime *RuntimeStats `protobuf:"bytes,9,req,name=runtime" json:"runtime,omitempty"` Endpoints []*EndpointStats `protobuf:"bytes,10,rep,name=endpoints" json:"endpoints,omitempty"` ServiceType *string `protobuf:"bytes,11,opt,name=serviceType" json:"serviceType,omitempty"` AzName *string `protobuf:"bytes,12,opt,name=azName" json:"azName,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PlatformStats) GetAzName ¶
func (m *PlatformStats) GetAzName() string
func (*PlatformStats) GetEndpoints ¶
func (m *PlatformStats) GetEndpoints() []*EndpointStats
func (*PlatformStats) GetHostname ¶
func (m *PlatformStats) GetHostname() string
func (*PlatformStats) GetInstanceId ¶
func (m *PlatformStats) GetInstanceId() string
func (*PlatformStats) GetRuntime ¶
func (m *PlatformStats) GetRuntime() *RuntimeStats
func (*PlatformStats) GetRusage ¶
func (m *PlatformStats) GetRusage() *RusageStats
func (*PlatformStats) GetServiceName ¶
func (m *PlatformStats) GetServiceName() string
func (*PlatformStats) GetServiceType ¶
func (m *PlatformStats) GetServiceType() string
func (*PlatformStats) GetServiceVersion ¶
func (m *PlatformStats) GetServiceVersion() uint64
func (*PlatformStats) GetStatus ¶
func (m *PlatformStats) GetStatus() string
func (*PlatformStats) GetTimestamp ¶
func (m *PlatformStats) GetTimestamp() int64
func (*PlatformStats) GetUptime ¶
func (m *PlatformStats) GetUptime() int64
func (*PlatformStats) ProtoMessage ¶
func (*PlatformStats) ProtoMessage()
func (*PlatformStats) Reset ¶
func (m *PlatformStats) Reset()
func (*PlatformStats) String ¶
func (m *PlatformStats) String() string
type Request ¶
type Request struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type RuntimeStats ¶
type RuntimeStats struct { HeapInUse *uint64 `protobuf:"varint,1,req,name=heapInUse" json:"heapInUse,omitempty"` HeapTotal *uint64 `protobuf:"varint,2,req,name=heapTotal" json:"heapTotal,omitempty"` HeapReleased *uint64 `protobuf:"varint,3,req,name=heapReleased" json:"heapReleased,omitempty"` LastGCDuration *uint64 `protobuf:"varint,4,req,name=lastGCDuration" json:"lastGCDuration,omitempty"` NumGC *uint32 `protobuf:"varint,5,req,name=numGC" json:"numGC,omitempty"` NumGoRoutines *uint32 `protobuf:"varint,6,req,name=numGoRoutines" json:"numGoRoutines,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RuntimeStats) GetHeapInUse ¶
func (m *RuntimeStats) GetHeapInUse() uint64
func (*RuntimeStats) GetHeapReleased ¶
func (m *RuntimeStats) GetHeapReleased() uint64
func (*RuntimeStats) GetHeapTotal ¶
func (m *RuntimeStats) GetHeapTotal() uint64
func (*RuntimeStats) GetLastGCDuration ¶
func (m *RuntimeStats) GetLastGCDuration() uint64
func (*RuntimeStats) GetNumGC ¶
func (m *RuntimeStats) GetNumGC() uint32
func (*RuntimeStats) GetNumGoRoutines ¶
func (m *RuntimeStats) GetNumGoRoutines() uint32
func (*RuntimeStats) ProtoMessage ¶
func (*RuntimeStats) ProtoMessage()
func (*RuntimeStats) Reset ¶
func (m *RuntimeStats) Reset()
func (*RuntimeStats) String ¶
func (m *RuntimeStats) String() string
type RusageStats ¶
type RusageStats struct { UserTime *float32 `protobuf:"fixed32,1,req,name=userTime" json:"userTime,omitempty"` SystemTime *float32 `protobuf:"fixed32,2,req,name=systemTime" json:"systemTime,omitempty"` MaxRss *int64 `protobuf:"varint,3,req,name=maxRss" json:"maxRss,omitempty"` InBlock *int64 `protobuf:"varint,4,req,name=inBlock" json:"inBlock,omitempty"` OuBlock *int64 `protobuf:"varint,5,req,name=ouBlock" json:"ouBlock,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RusageStats) GetInBlock ¶
func (m *RusageStats) GetInBlock() int64
func (*RusageStats) GetMaxRss ¶
func (m *RusageStats) GetMaxRss() int64
func (*RusageStats) GetOuBlock ¶
func (m *RusageStats) GetOuBlock() int64
func (*RusageStats) GetSystemTime ¶
func (m *RusageStats) GetSystemTime() float32
func (*RusageStats) GetUserTime ¶
func (m *RusageStats) GetUserTime() float32
func (*RusageStats) ProtoMessage ¶
func (*RusageStats) ProtoMessage()
func (*RusageStats) Reset ¶
func (m *RusageStats) Reset()
func (*RusageStats) String ¶
func (m *RusageStats) String() string
Click to show internal directories.
Click to hide internal directories.