Documentation ¶
Index ¶
- Variables
- func RegisterCLRMetricReportServiceServer(s *grpc.Server, srv CLRMetricReportServiceServer)
- func RegisterJVMMetricReportServiceServer(s *grpc.Server, srv JVMMetricReportServiceServer)
- func RegisterTraceSegmentReportServiceServer(s *grpc.Server, srv TraceSegmentReportServiceServer)
- type CLRMetric
- func (*CLRMetric) Descriptor() ([]byte, []int)
- func (m *CLRMetric) GetCpu() *v3.CPU
- func (m *CLRMetric) GetGc() *ClrGC
- func (m *CLRMetric) GetThread() *ClrThread
- func (m *CLRMetric) GetTime() int64
- func (*CLRMetric) ProtoMessage()
- func (m *CLRMetric) Reset()
- func (m *CLRMetric) String() string
- func (m *CLRMetric) XXX_DiscardUnknown()
- func (m *CLRMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CLRMetric) XXX_Merge(src proto.Message)
- func (m *CLRMetric) XXX_Size() int
- func (m *CLRMetric) XXX_Unmarshal(b []byte) error
- type CLRMetricCollection
- func (*CLRMetricCollection) Descriptor() ([]byte, []int)
- func (m *CLRMetricCollection) GetMetrics() []*CLRMetric
- func (m *CLRMetricCollection) GetService() string
- func (m *CLRMetricCollection) GetServiceInstance() string
- func (*CLRMetricCollection) ProtoMessage()
- func (m *CLRMetricCollection) Reset()
- func (m *CLRMetricCollection) String() string
- func (m *CLRMetricCollection) XXX_DiscardUnknown()
- func (m *CLRMetricCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CLRMetricCollection) XXX_Merge(src proto.Message)
- func (m *CLRMetricCollection) XXX_Size() int
- func (m *CLRMetricCollection) XXX_Unmarshal(b []byte) error
- type CLRMetricReportServiceClient
- type CLRMetricReportServiceServer
- type ClrGC
- func (*ClrGC) Descriptor() ([]byte, []int)
- func (m *ClrGC) GetGen0CollectCount() int64
- func (m *ClrGC) GetGen1CollectCount() int64
- func (m *ClrGC) GetGen2CollectCount() int64
- func (m *ClrGC) GetHeapMemory() int64
- func (*ClrGC) ProtoMessage()
- func (m *ClrGC) Reset()
- func (m *ClrGC) String() string
- func (m *ClrGC) XXX_DiscardUnknown()
- func (m *ClrGC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClrGC) XXX_Merge(src proto.Message)
- func (m *ClrGC) XXX_Size() int
- func (m *ClrGC) XXX_Unmarshal(b []byte) error
- type ClrThread
- func (*ClrThread) Descriptor() ([]byte, []int)
- func (m *ClrThread) GetAvailableCompletionPortThreads() int32
- func (m *ClrThread) GetAvailableWorkerThreads() int32
- func (m *ClrThread) GetMaxCompletionPortThreads() int32
- func (m *ClrThread) GetMaxWorkerThreads() int32
- func (*ClrThread) ProtoMessage()
- func (m *ClrThread) Reset()
- func (m *ClrThread) String() string
- func (m *ClrThread) XXX_DiscardUnknown()
- func (m *ClrThread) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClrThread) XXX_Merge(src proto.Message)
- func (m *ClrThread) XXX_Size() int
- func (m *ClrThread) XXX_Unmarshal(b []byte) error
- type GC
- func (*GC) Descriptor() ([]byte, []int)
- func (m *GC) GetCount() int64
- func (m *GC) GetPhrase() GCPhrase
- func (m *GC) GetTime() int64
- func (*GC) ProtoMessage()
- func (m *GC) Reset()
- func (m *GC) String() string
- func (m *GC) XXX_DiscardUnknown()
- func (m *GC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GC) XXX_Merge(src proto.Message)
- func (m *GC) XXX_Size() int
- func (m *GC) XXX_Unmarshal(b []byte) error
- type GCPhrase
- type ID
- func (*ID) Descriptor() ([]byte, []int)
- func (m *ID) GetId() []string
- func (*ID) ProtoMessage()
- func (m *ID) Reset()
- func (m *ID) String() string
- func (m *ID) XXX_DiscardUnknown()
- func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ID) XXX_Merge(src proto.Message)
- func (m *ID) XXX_Size() int
- func (m *ID) XXX_Unmarshal(b []byte) error
- type JVMMetric
- func (*JVMMetric) Descriptor() ([]byte, []int)
- func (m *JVMMetric) GetCpu() *v3.CPU
- func (m *JVMMetric) GetGc() []*GC
- func (m *JVMMetric) GetMemory() []*Memory
- func (m *JVMMetric) GetMemoryPool() []*MemoryPool
- func (m *JVMMetric) GetTime() int64
- func (*JVMMetric) ProtoMessage()
- func (m *JVMMetric) Reset()
- func (m *JVMMetric) String() string
- func (m *JVMMetric) XXX_DiscardUnknown()
- func (m *JVMMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JVMMetric) XXX_Merge(src proto.Message)
- func (m *JVMMetric) XXX_Size() int
- func (m *JVMMetric) XXX_Unmarshal(b []byte) error
- type JVMMetricCollection
- func (*JVMMetricCollection) Descriptor() ([]byte, []int)
- func (m *JVMMetricCollection) GetMetrics() []*JVMMetric
- func (m *JVMMetricCollection) GetService() string
- func (m *JVMMetricCollection) GetServiceInstance() string
- func (*JVMMetricCollection) ProtoMessage()
- func (m *JVMMetricCollection) Reset()
- func (m *JVMMetricCollection) String() string
- func (m *JVMMetricCollection) XXX_DiscardUnknown()
- func (m *JVMMetricCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JVMMetricCollection) XXX_Merge(src proto.Message)
- func (m *JVMMetricCollection) XXX_Size() int
- func (m *JVMMetricCollection) XXX_Unmarshal(b []byte) error
- type JVMMetricReportServiceClient
- type JVMMetricReportServiceServer
- type Log
- func (*Log) Descriptor() ([]byte, []int)
- func (m *Log) GetData() []*v3.KeyStringValuePair
- func (m *Log) GetTime() int64
- func (*Log) ProtoMessage()
- func (m *Log) Reset()
- func (m *Log) String() string
- func (m *Log) XXX_DiscardUnknown()
- func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Log) XXX_Merge(src proto.Message)
- func (m *Log) XXX_Size() int
- func (m *Log) XXX_Unmarshal(b []byte) error
- type Memory
- func (*Memory) Descriptor() ([]byte, []int)
- func (m *Memory) GetCommitted() int64
- func (m *Memory) GetInit() int64
- func (m *Memory) GetIsHeap() bool
- func (m *Memory) GetMax() int64
- func (m *Memory) GetUsed() int64
- func (*Memory) ProtoMessage()
- func (m *Memory) Reset()
- func (m *Memory) String() string
- func (m *Memory) XXX_DiscardUnknown()
- func (m *Memory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Memory) XXX_Merge(src proto.Message)
- func (m *Memory) XXX_Size() int
- func (m *Memory) XXX_Unmarshal(b []byte) error
- type MemoryPool
- func (*MemoryPool) Descriptor() ([]byte, []int)
- func (m *MemoryPool) GetCommitted() int64
- func (m *MemoryPool) GetInit() int64
- func (m *MemoryPool) GetMax() int64
- func (m *MemoryPool) GetType() PoolType
- func (m *MemoryPool) GetUsed() int64
- func (*MemoryPool) ProtoMessage()
- func (m *MemoryPool) Reset()
- func (m *MemoryPool) String() string
- func (m *MemoryPool) XXX_DiscardUnknown()
- func (m *MemoryPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MemoryPool) XXX_Merge(src proto.Message)
- func (m *MemoryPool) XXX_Size() int
- func (m *MemoryPool) XXX_Unmarshal(b []byte) error
- type PoolType
- type RefType
- type SegmentObject
- func (*SegmentObject) Descriptor() ([]byte, []int)
- func (m *SegmentObject) GetIsSizeLimited() bool
- func (m *SegmentObject) GetService() string
- func (m *SegmentObject) GetServiceInstance() string
- func (m *SegmentObject) GetSpans() []*SpanObject
- func (m *SegmentObject) GetTraceId() string
- func (m *SegmentObject) GetTraceSegmentId() string
- func (*SegmentObject) ProtoMessage()
- func (m *SegmentObject) Reset()
- func (m *SegmentObject) String() string
- func (m *SegmentObject) XXX_DiscardUnknown()
- func (m *SegmentObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SegmentObject) XXX_Merge(src proto.Message)
- func (m *SegmentObject) XXX_Size() int
- func (m *SegmentObject) XXX_Unmarshal(b []byte) error
- type SegmentReference
- func (*SegmentReference) Descriptor() ([]byte, []int)
- func (m *SegmentReference) GetNetworkAddressUsedAtPeer() string
- func (m *SegmentReference) GetParentEndpoint() string
- func (m *SegmentReference) GetParentService() string
- func (m *SegmentReference) GetParentServiceInstance() string
- func (m *SegmentReference) GetParentSpanId() int32
- func (m *SegmentReference) GetParentTraceSegmentId() string
- func (m *SegmentReference) GetRefType() RefType
- func (m *SegmentReference) GetTraceId() string
- func (*SegmentReference) ProtoMessage()
- func (m *SegmentReference) Reset()
- func (m *SegmentReference) String() string
- func (m *SegmentReference) XXX_DiscardUnknown()
- func (m *SegmentReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SegmentReference) XXX_Merge(src proto.Message)
- func (m *SegmentReference) XXX_Size() int
- func (m *SegmentReference) XXX_Unmarshal(b []byte) error
- type SpanLayer
- type SpanObject
- func (*SpanObject) Descriptor() ([]byte, []int)
- func (m *SpanObject) GetComponentId() int32
- func (m *SpanObject) GetEndTime() int64
- func (m *SpanObject) GetIsError() bool
- func (m *SpanObject) GetLogs() []*Log
- func (m *SpanObject) GetOperationName() string
- func (m *SpanObject) GetParentSpanId() int32
- func (m *SpanObject) GetPeer() string
- func (m *SpanObject) GetRefs() []*SegmentReference
- func (m *SpanObject) GetSkipAnalysis() bool
- func (m *SpanObject) GetSpanId() int32
- func (m *SpanObject) GetSpanLayer() SpanLayer
- func (m *SpanObject) GetSpanType() SpanType
- func (m *SpanObject) GetStartTime() int64
- func (m *SpanObject) GetTags() []*v3.KeyStringValuePair
- func (*SpanObject) ProtoMessage()
- func (m *SpanObject) Reset()
- func (m *SpanObject) String() string
- func (m *SpanObject) XXX_DiscardUnknown()
- func (m *SpanObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpanObject) XXX_Merge(src proto.Message)
- func (m *SpanObject) XXX_Size() int
- func (m *SpanObject) XXX_Unmarshal(b []byte) error
- type SpanType
- type TraceSegmentReportServiceClient
- type TraceSegmentReportServiceServer
- type TraceSegmentReportService_CollectClient
- type TraceSegmentReportService_CollectServer
- type UnimplementedCLRMetricReportServiceServer
- type UnimplementedJVMMetricReportServiceServer
- type UnimplementedTraceSegmentReportServiceServer
Constants ¶
This section is empty.
Variables ¶
var GCPhrase_name = map[int32]string{
0: "NEW",
1: "OLD",
}
var GCPhrase_value = map[string]int32{
"NEW": 0,
"OLD": 1,
}
var PoolType_name = map[int32]string{
0: "CODE_CACHE_USAGE",
1: "NEWGEN_USAGE",
2: "OLDGEN_USAGE",
3: "SURVIVOR_USAGE",
4: "PERMGEN_USAGE",
5: "METASPACE_USAGE",
}
var PoolType_value = map[string]int32{
"CODE_CACHE_USAGE": 0,
"NEWGEN_USAGE": 1,
"OLDGEN_USAGE": 2,
"SURVIVOR_USAGE": 3,
"PERMGEN_USAGE": 4,
"METASPACE_USAGE": 5,
}
var RefType_name = map[int32]string{
0: "CrossProcess",
1: "CrossThread",
}
var RefType_value = map[string]int32{
"CrossProcess": 0,
"CrossThread": 1,
}
var SpanLayer_name = map[int32]string{
0: "Unknown",
1: "Database",
2: "RPCFramework",
3: "Http",
4: "MQ",
5: "Cache",
}
var SpanLayer_value = map[string]int32{
"Unknown": 0,
"Database": 1,
"RPCFramework": 2,
"Http": 3,
"MQ": 4,
"Cache": 5,
}
var SpanType_name = map[int32]string{
0: "Entry",
1: "Exit",
2: "Local",
}
var SpanType_value = map[string]int32{
"Entry": 0,
"Exit": 1,
"Local": 2,
}
Functions ¶
func RegisterCLRMetricReportServiceServer ¶
func RegisterCLRMetricReportServiceServer(s *grpc.Server, srv CLRMetricReportServiceServer)
func RegisterJVMMetricReportServiceServer ¶
func RegisterJVMMetricReportServiceServer(s *grpc.Server, srv JVMMetricReportServiceServer)
func RegisterTraceSegmentReportServiceServer ¶
func RegisterTraceSegmentReportServiceServer(s *grpc.Server, srv TraceSegmentReportServiceServer)
Types ¶
type CLRMetric ¶
type CLRMetric struct { Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` Cpu *v3.CPU `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"` Gc *ClrGC `protobuf:"bytes,3,opt,name=gc,proto3" json:"gc,omitempty"` Thread *ClrThread `protobuf:"bytes,4,opt,name=thread,proto3" json:"thread,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CLRMetric) Descriptor ¶
func (*CLRMetric) ProtoMessage ¶
func (*CLRMetric) ProtoMessage()
func (*CLRMetric) XXX_DiscardUnknown ¶
func (m *CLRMetric) XXX_DiscardUnknown()
func (*CLRMetric) XXX_Marshal ¶
func (*CLRMetric) XXX_Unmarshal ¶
type CLRMetricCollection ¶
type CLRMetricCollection struct { Metrics []*CLRMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` ServiceInstance string `protobuf:"bytes,3,opt,name=serviceInstance,proto3" json:"serviceInstance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CLRMetricCollection) Descriptor ¶
func (*CLRMetricCollection) Descriptor() ([]byte, []int)
func (*CLRMetricCollection) GetMetrics ¶
func (m *CLRMetricCollection) GetMetrics() []*CLRMetric
func (*CLRMetricCollection) GetService ¶
func (m *CLRMetricCollection) GetService() string
func (*CLRMetricCollection) GetServiceInstance ¶
func (m *CLRMetricCollection) GetServiceInstance() string
func (*CLRMetricCollection) ProtoMessage ¶
func (*CLRMetricCollection) ProtoMessage()
func (*CLRMetricCollection) Reset ¶
func (m *CLRMetricCollection) Reset()
func (*CLRMetricCollection) String ¶
func (m *CLRMetricCollection) String() string
func (*CLRMetricCollection) XXX_DiscardUnknown ¶
func (m *CLRMetricCollection) XXX_DiscardUnknown()
func (*CLRMetricCollection) XXX_Marshal ¶
func (m *CLRMetricCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CLRMetricCollection) XXX_Merge ¶
func (m *CLRMetricCollection) XXX_Merge(src proto.Message)
func (*CLRMetricCollection) XXX_Size ¶
func (m *CLRMetricCollection) XXX_Size() int
func (*CLRMetricCollection) XXX_Unmarshal ¶
func (m *CLRMetricCollection) XXX_Unmarshal(b []byte) error
type CLRMetricReportServiceClient ¶
type CLRMetricReportServiceClient interface {
Collect(ctx context.Context, in *CLRMetricCollection, opts ...grpc.CallOption) (*v3.Commands, error)
}
CLRMetricReportServiceClient is the client API for CLRMetricReportService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCLRMetricReportServiceClient ¶
func NewCLRMetricReportServiceClient(cc *grpc.ClientConn) CLRMetricReportServiceClient
type CLRMetricReportServiceServer ¶
type CLRMetricReportServiceServer interface {
Collect(context.Context, *CLRMetricCollection) (*v3.Commands, error)
}
CLRMetricReportServiceServer is the server API for CLRMetricReportService service.
type ClrGC ¶
type ClrGC struct { Gen0CollectCount int64 `protobuf:"varint,1,opt,name=Gen0CollectCount,proto3" json:"Gen0CollectCount,omitempty"` Gen1CollectCount int64 `protobuf:"varint,2,opt,name=Gen1CollectCount,proto3" json:"Gen1CollectCount,omitempty"` Gen2CollectCount int64 `protobuf:"varint,3,opt,name=Gen2CollectCount,proto3" json:"Gen2CollectCount,omitempty"` HeapMemory int64 `protobuf:"varint,4,opt,name=HeapMemory,proto3" json:"HeapMemory,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClrGC) Descriptor ¶
func (*ClrGC) GetGen0CollectCount ¶
func (*ClrGC) GetGen1CollectCount ¶
func (*ClrGC) GetGen2CollectCount ¶
func (*ClrGC) GetHeapMemory ¶
func (*ClrGC) ProtoMessage ¶
func (*ClrGC) ProtoMessage()
func (*ClrGC) XXX_DiscardUnknown ¶
func (m *ClrGC) XXX_DiscardUnknown()
func (*ClrGC) XXX_Marshal ¶
func (*ClrGC) XXX_Unmarshal ¶
type ClrThread ¶
type ClrThread struct { AvailableCompletionPortThreads int32 `protobuf:"varint,1,opt,name=AvailableCompletionPortThreads,proto3" json:"AvailableCompletionPortThreads,omitempty"` AvailableWorkerThreads int32 `protobuf:"varint,2,opt,name=AvailableWorkerThreads,proto3" json:"AvailableWorkerThreads,omitempty"` MaxCompletionPortThreads int32 `protobuf:"varint,3,opt,name=MaxCompletionPortThreads,proto3" json:"MaxCompletionPortThreads,omitempty"` MaxWorkerThreads int32 `protobuf:"varint,4,opt,name=MaxWorkerThreads,proto3" json:"MaxWorkerThreads,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClrThread) Descriptor ¶
func (*ClrThread) GetAvailableCompletionPortThreads ¶
func (*ClrThread) GetAvailableWorkerThreads ¶
func (*ClrThread) GetMaxCompletionPortThreads ¶
func (*ClrThread) GetMaxWorkerThreads ¶
func (*ClrThread) ProtoMessage ¶
func (*ClrThread) ProtoMessage()
func (*ClrThread) XXX_DiscardUnknown ¶
func (m *ClrThread) XXX_DiscardUnknown()
func (*ClrThread) XXX_Marshal ¶
func (*ClrThread) XXX_Unmarshal ¶
type GC ¶
type GC struct { Phrase GCPhrase `protobuf:"varint,1,opt,name=phrase,proto3,enum=GCPhrase" json:"phrase,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GC) Descriptor ¶
func (*GC) ProtoMessage ¶
func (*GC) ProtoMessage()
func (*GC) XXX_DiscardUnknown ¶
func (m *GC) XXX_DiscardUnknown()
func (*GC) XXX_Unmarshal ¶
type ID ¶
type ID struct { Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ID) Descriptor ¶
func (*ID) ProtoMessage ¶
func (*ID) ProtoMessage()
func (*ID) XXX_DiscardUnknown ¶
func (m *ID) XXX_DiscardUnknown()
func (*ID) XXX_Unmarshal ¶
type JVMMetric ¶
type JVMMetric struct { Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` Cpu *v3.CPU `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory []*Memory `protobuf:"bytes,3,rep,name=memory,proto3" json:"memory,omitempty"` MemoryPool []*MemoryPool `protobuf:"bytes,4,rep,name=memoryPool,proto3" json:"memoryPool,omitempty"` Gc []*GC `protobuf:"bytes,5,rep,name=gc,proto3" json:"gc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JVMMetric) Descriptor ¶
func (*JVMMetric) GetMemoryPool ¶
func (m *JVMMetric) GetMemoryPool() []*MemoryPool
func (*JVMMetric) ProtoMessage ¶
func (*JVMMetric) ProtoMessage()
func (*JVMMetric) XXX_DiscardUnknown ¶
func (m *JVMMetric) XXX_DiscardUnknown()
func (*JVMMetric) XXX_Marshal ¶
func (*JVMMetric) XXX_Unmarshal ¶
type JVMMetricCollection ¶
type JVMMetricCollection struct { Metrics []*JVMMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` ServiceInstance string `protobuf:"bytes,3,opt,name=serviceInstance,proto3" json:"serviceInstance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JVMMetricCollection) Descriptor ¶
func (*JVMMetricCollection) Descriptor() ([]byte, []int)
func (*JVMMetricCollection) GetMetrics ¶
func (m *JVMMetricCollection) GetMetrics() []*JVMMetric
func (*JVMMetricCollection) GetService ¶
func (m *JVMMetricCollection) GetService() string
func (*JVMMetricCollection) GetServiceInstance ¶
func (m *JVMMetricCollection) GetServiceInstance() string
func (*JVMMetricCollection) ProtoMessage ¶
func (*JVMMetricCollection) ProtoMessage()
func (*JVMMetricCollection) Reset ¶
func (m *JVMMetricCollection) Reset()
func (*JVMMetricCollection) String ¶
func (m *JVMMetricCollection) String() string
func (*JVMMetricCollection) XXX_DiscardUnknown ¶
func (m *JVMMetricCollection) XXX_DiscardUnknown()
func (*JVMMetricCollection) XXX_Marshal ¶
func (m *JVMMetricCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JVMMetricCollection) XXX_Merge ¶
func (m *JVMMetricCollection) XXX_Merge(src proto.Message)
func (*JVMMetricCollection) XXX_Size ¶
func (m *JVMMetricCollection) XXX_Size() int
func (*JVMMetricCollection) XXX_Unmarshal ¶
func (m *JVMMetricCollection) XXX_Unmarshal(b []byte) error
type JVMMetricReportServiceClient ¶
type JVMMetricReportServiceClient interface {
Collect(ctx context.Context, in *JVMMetricCollection, opts ...grpc.CallOption) (*v3.Commands, error)
}
JVMMetricReportServiceClient is the client API for JVMMetricReportService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewJVMMetricReportServiceClient ¶
func NewJVMMetricReportServiceClient(cc *grpc.ClientConn) JVMMetricReportServiceClient
type JVMMetricReportServiceServer ¶
type JVMMetricReportServiceServer interface {
Collect(context.Context, *JVMMetricCollection) (*v3.Commands, error)
}
JVMMetricReportServiceServer is the server API for JVMMetricReportService service.
type Log ¶
type Log struct { Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` Data []*v3.KeyStringValuePair `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Log) Descriptor ¶
func (*Log) GetData ¶
func (m *Log) GetData() []*v3.KeyStringValuePair
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) XXX_DiscardUnknown ¶
func (m *Log) XXX_DiscardUnknown()
func (*Log) XXX_Unmarshal ¶
type Memory ¶
type Memory struct { IsHeap bool `protobuf:"varint,1,opt,name=isHeap,proto3" json:"isHeap,omitempty"` Init int64 `protobuf:"varint,2,opt,name=init,proto3" json:"init,omitempty"` Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` Used int64 `protobuf:"varint,4,opt,name=used,proto3" json:"used,omitempty"` Committed int64 `protobuf:"varint,5,opt,name=committed,proto3" json:"committed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Memory) Descriptor ¶
func (*Memory) GetCommitted ¶
func (*Memory) ProtoMessage ¶
func (*Memory) ProtoMessage()
func (*Memory) XXX_DiscardUnknown ¶
func (m *Memory) XXX_DiscardUnknown()
func (*Memory) XXX_Marshal ¶
func (*Memory) XXX_Unmarshal ¶
type MemoryPool ¶
type MemoryPool struct { Type PoolType `protobuf:"varint,1,opt,name=type,proto3,enum=PoolType" json:"type,omitempty"` Init int64 `protobuf:"varint,2,opt,name=init,proto3" json:"init,omitempty"` Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` Used int64 `protobuf:"varint,4,opt,name=used,proto3" json:"used,omitempty"` Committed int64 `protobuf:"varint,5,opt,name=committed,proto3" json:"committed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MemoryPool) Descriptor ¶
func (*MemoryPool) Descriptor() ([]byte, []int)
func (*MemoryPool) GetCommitted ¶
func (m *MemoryPool) GetCommitted() int64
func (*MemoryPool) GetInit ¶
func (m *MemoryPool) GetInit() int64
func (*MemoryPool) GetMax ¶
func (m *MemoryPool) GetMax() int64
func (*MemoryPool) GetType ¶
func (m *MemoryPool) GetType() PoolType
func (*MemoryPool) GetUsed ¶
func (m *MemoryPool) GetUsed() int64
func (*MemoryPool) ProtoMessage ¶
func (*MemoryPool) ProtoMessage()
func (*MemoryPool) Reset ¶
func (m *MemoryPool) Reset()
func (*MemoryPool) String ¶
func (m *MemoryPool) String() string
func (*MemoryPool) XXX_DiscardUnknown ¶
func (m *MemoryPool) XXX_DiscardUnknown()
func (*MemoryPool) XXX_Marshal ¶
func (m *MemoryPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MemoryPool) XXX_Merge ¶
func (m *MemoryPool) XXX_Merge(src proto.Message)
func (*MemoryPool) XXX_Size ¶
func (m *MemoryPool) XXX_Size() int
func (*MemoryPool) XXX_Unmarshal ¶
func (m *MemoryPool) XXX_Unmarshal(b []byte) error
type SegmentObject ¶
type SegmentObject struct { TraceId string `protobuf:"bytes,1,opt,name=traceId,proto3" json:"traceId,omitempty"` TraceSegmentId string `protobuf:"bytes,2,opt,name=traceSegmentId,proto3" json:"traceSegmentId,omitempty"` Spans []*SpanObject `protobuf:"bytes,3,rep,name=spans,proto3" json:"spans,omitempty"` Service string `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"` ServiceInstance string `protobuf:"bytes,5,opt,name=serviceInstance,proto3" json:"serviceInstance,omitempty"` IsSizeLimited bool `protobuf:"varint,6,opt,name=isSizeLimited,proto3" json:"isSizeLimited,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SegmentObject) Descriptor ¶
func (*SegmentObject) Descriptor() ([]byte, []int)
func (*SegmentObject) GetIsSizeLimited ¶
func (m *SegmentObject) GetIsSizeLimited() bool
func (*SegmentObject) GetService ¶
func (m *SegmentObject) GetService() string
func (*SegmentObject) GetServiceInstance ¶
func (m *SegmentObject) GetServiceInstance() string
func (*SegmentObject) GetSpans ¶
func (m *SegmentObject) GetSpans() []*SpanObject
func (*SegmentObject) GetTraceId ¶
func (m *SegmentObject) GetTraceId() string
func (*SegmentObject) GetTraceSegmentId ¶
func (m *SegmentObject) GetTraceSegmentId() string
func (*SegmentObject) ProtoMessage ¶
func (*SegmentObject) ProtoMessage()
func (*SegmentObject) Reset ¶
func (m *SegmentObject) Reset()
func (*SegmentObject) String ¶
func (m *SegmentObject) String() string
func (*SegmentObject) XXX_DiscardUnknown ¶
func (m *SegmentObject) XXX_DiscardUnknown()
func (*SegmentObject) XXX_Marshal ¶
func (m *SegmentObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SegmentObject) XXX_Merge ¶
func (m *SegmentObject) XXX_Merge(src proto.Message)
func (*SegmentObject) XXX_Size ¶
func (m *SegmentObject) XXX_Size() int
func (*SegmentObject) XXX_Unmarshal ¶
func (m *SegmentObject) XXX_Unmarshal(b []byte) error
type SegmentReference ¶
type SegmentReference struct { RefType RefType `protobuf:"varint,1,opt,name=refType,proto3,enum=RefType" json:"refType,omitempty"` TraceId string `protobuf:"bytes,2,opt,name=traceId,proto3" json:"traceId,omitempty"` ParentTraceSegmentId string `protobuf:"bytes,3,opt,name=parentTraceSegmentId,proto3" json:"parentTraceSegmentId,omitempty"` ParentSpanId int32 `protobuf:"varint,4,opt,name=parentSpanId,proto3" json:"parentSpanId,omitempty"` ParentService string `protobuf:"bytes,5,opt,name=parentService,proto3" json:"parentService,omitempty"` ParentServiceInstance string `protobuf:"bytes,6,opt,name=parentServiceInstance,proto3" json:"parentServiceInstance,omitempty"` ParentEndpoint string `protobuf:"bytes,7,opt,name=parentEndpoint,proto3" json:"parentEndpoint,omitempty"` NetworkAddressUsedAtPeer string `protobuf:"bytes,8,opt,name=networkAddressUsedAtPeer,proto3" json:"networkAddressUsedAtPeer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SegmentReference) Descriptor ¶
func (*SegmentReference) Descriptor() ([]byte, []int)
func (*SegmentReference) GetNetworkAddressUsedAtPeer ¶
func (m *SegmentReference) GetNetworkAddressUsedAtPeer() string
func (*SegmentReference) GetParentEndpoint ¶
func (m *SegmentReference) GetParentEndpoint() string
func (*SegmentReference) GetParentService ¶
func (m *SegmentReference) GetParentService() string
func (*SegmentReference) GetParentServiceInstance ¶
func (m *SegmentReference) GetParentServiceInstance() string
func (*SegmentReference) GetParentSpanId ¶
func (m *SegmentReference) GetParentSpanId() int32
func (*SegmentReference) GetParentTraceSegmentId ¶
func (m *SegmentReference) GetParentTraceSegmentId() string
func (*SegmentReference) GetRefType ¶
func (m *SegmentReference) GetRefType() RefType
func (*SegmentReference) GetTraceId ¶
func (m *SegmentReference) GetTraceId() string
func (*SegmentReference) ProtoMessage ¶
func (*SegmentReference) ProtoMessage()
func (*SegmentReference) Reset ¶
func (m *SegmentReference) Reset()
func (*SegmentReference) String ¶
func (m *SegmentReference) String() string
func (*SegmentReference) XXX_DiscardUnknown ¶
func (m *SegmentReference) XXX_DiscardUnknown()
func (*SegmentReference) XXX_Marshal ¶
func (m *SegmentReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SegmentReference) XXX_Merge ¶
func (m *SegmentReference) XXX_Merge(src proto.Message)
func (*SegmentReference) XXX_Size ¶
func (m *SegmentReference) XXX_Size() int
func (*SegmentReference) XXX_Unmarshal ¶
func (m *SegmentReference) XXX_Unmarshal(b []byte) error
type SpanObject ¶
type SpanObject struct { SpanId int32 `protobuf:"varint,1,opt,name=spanId,proto3" json:"spanId,omitempty"` ParentSpanId int32 `protobuf:"varint,2,opt,name=parentSpanId,proto3" json:"parentSpanId,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"` Refs []*SegmentReference `protobuf:"bytes,5,rep,name=refs,proto3" json:"refs,omitempty"` OperationName string `protobuf:"bytes,6,opt,name=operationName,proto3" json:"operationName,omitempty"` Peer string `protobuf:"bytes,7,opt,name=peer,proto3" json:"peer,omitempty"` SpanType SpanType `protobuf:"varint,8,opt,name=spanType,proto3,enum=SpanType" json:"spanType,omitempty"` SpanLayer SpanLayer `protobuf:"varint,9,opt,name=spanLayer,proto3,enum=SpanLayer" json:"spanLayer,omitempty"` ComponentId int32 `protobuf:"varint,10,opt,name=componentId,proto3" json:"componentId,omitempty"` IsError bool `protobuf:"varint,11,opt,name=isError,proto3" json:"isError,omitempty"` Tags []*v3.KeyStringValuePair `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"` Logs []*Log `protobuf:"bytes,13,rep,name=logs,proto3" json:"logs,omitempty"` SkipAnalysis bool `protobuf:"varint,14,opt,name=skipAnalysis,proto3" json:"skipAnalysis,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SpanObject) Descriptor ¶
func (*SpanObject) Descriptor() ([]byte, []int)
func (*SpanObject) GetComponentId ¶
func (m *SpanObject) GetComponentId() int32
func (*SpanObject) GetEndTime ¶
func (m *SpanObject) GetEndTime() int64
func (*SpanObject) GetIsError ¶
func (m *SpanObject) GetIsError() bool
func (*SpanObject) GetLogs ¶
func (m *SpanObject) GetLogs() []*Log
func (*SpanObject) GetOperationName ¶
func (m *SpanObject) GetOperationName() string
func (*SpanObject) GetParentSpanId ¶
func (m *SpanObject) GetParentSpanId() int32
func (*SpanObject) GetPeer ¶
func (m *SpanObject) GetPeer() string
func (*SpanObject) GetRefs ¶
func (m *SpanObject) GetRefs() []*SegmentReference
func (*SpanObject) GetSkipAnalysis ¶
func (m *SpanObject) GetSkipAnalysis() bool
func (*SpanObject) GetSpanId ¶
func (m *SpanObject) GetSpanId() int32
func (*SpanObject) GetSpanLayer ¶
func (m *SpanObject) GetSpanLayer() SpanLayer
func (*SpanObject) GetSpanType ¶
func (m *SpanObject) GetSpanType() SpanType
func (*SpanObject) GetStartTime ¶
func (m *SpanObject) GetStartTime() int64
func (*SpanObject) GetTags ¶
func (m *SpanObject) GetTags() []*v3.KeyStringValuePair
func (*SpanObject) ProtoMessage ¶
func (*SpanObject) ProtoMessage()
func (*SpanObject) Reset ¶
func (m *SpanObject) Reset()
func (*SpanObject) String ¶
func (m *SpanObject) String() string
func (*SpanObject) XXX_DiscardUnknown ¶
func (m *SpanObject) XXX_DiscardUnknown()
func (*SpanObject) XXX_Marshal ¶
func (m *SpanObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpanObject) XXX_Merge ¶
func (m *SpanObject) XXX_Merge(src proto.Message)
func (*SpanObject) XXX_Size ¶
func (m *SpanObject) XXX_Size() int
func (*SpanObject) XXX_Unmarshal ¶
func (m *SpanObject) XXX_Unmarshal(b []byte) error
type TraceSegmentReportServiceClient ¶
type TraceSegmentReportServiceClient interface {
Collect(ctx context.Context, opts ...grpc.CallOption) (TraceSegmentReportService_CollectClient, error)
}
TraceSegmentReportServiceClient is the client API for TraceSegmentReportService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTraceSegmentReportServiceClient ¶
func NewTraceSegmentReportServiceClient(cc *grpc.ClientConn) TraceSegmentReportServiceClient
type TraceSegmentReportServiceServer ¶
type TraceSegmentReportServiceServer interface {
Collect(TraceSegmentReportService_CollectServer) error
}
TraceSegmentReportServiceServer is the server API for TraceSegmentReportService service.
type TraceSegmentReportService_CollectClient ¶
type TraceSegmentReportService_CollectClient interface { Send(*SegmentObject) error CloseAndRecv() (*v3.Commands, error) grpc.ClientStream }
type TraceSegmentReportService_CollectServer ¶
type TraceSegmentReportService_CollectServer interface { SendAndClose(*v3.Commands) error Recv() (*SegmentObject, error) grpc.ServerStream }
type UnimplementedCLRMetricReportServiceServer ¶
type UnimplementedCLRMetricReportServiceServer struct { }
UnimplementedCLRMetricReportServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCLRMetricReportServiceServer) Collect ¶
func (*UnimplementedCLRMetricReportServiceServer) Collect(ctx context.Context, req *CLRMetricCollection) (*v3.Commands, error)
type UnimplementedJVMMetricReportServiceServer ¶
type UnimplementedJVMMetricReportServiceServer struct { }
UnimplementedJVMMetricReportServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedJVMMetricReportServiceServer) Collect ¶
func (*UnimplementedJVMMetricReportServiceServer) Collect(ctx context.Context, req *JVMMetricCollection) (*v3.Commands, error)
type UnimplementedTraceSegmentReportServiceServer ¶
type UnimplementedTraceSegmentReportServiceServer struct { }
UnimplementedTraceSegmentReportServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTraceSegmentReportServiceServer) Collect ¶
func (*UnimplementedTraceSegmentReportServiceServer) Collect(srv TraceSegmentReportService_CollectServer) error