Documentation
¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
tracer.proto
It has these top-level messages:
Trace Span Tag StoreRequest StoreResponse
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterStorerServer ¶
func RegisterStorerServer(s *grpc.Server, srv StorerServer)
Types ¶
type Span ¶
type Span struct { SpanId uint64 `protobuf:"varint,1,opt,name=span_id,json=spanId" json:"span_id,omitempty"` ParentId uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId" json:"parent_id,omitempty"` TraceId uint64 `protobuf:"varint,3,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"` ServiceName string `protobuf:"bytes,4,opt,name=service_name,json=serviceName" json:"service_name,omitempty"` OperationName string `protobuf:"bytes,5,opt,name=operation_name,json=operationName" json:"operation_name,omitempty"` StartTime *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime" json:"start_time,omitempty"` FinishTime *google_protobuf.Timestamp `protobuf:"bytes,7,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"` Flags uint64 `protobuf:"varint,8,opt,name=flags" json:"flags,omitempty"` Tags []*Tag `protobuf:"bytes,9,rep,name=tags" json:"tags,omitempty"` }
func (*Span) Descriptor ¶
func (*Span) GetFinishTime ¶
func (m *Span) GetFinishTime() *google_protobuf.Timestamp
func (*Span) GetStartTime ¶
func (m *Span) GetStartTime() *google_protobuf.Timestamp
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
type StoreRequest ¶
type StoreRequest struct {
Spans []*Span `protobuf:"bytes,1,rep,name=spans" json:"spans,omitempty"`
}
func (*StoreRequest) Descriptor ¶
func (*StoreRequest) Descriptor() ([]byte, []int)
func (*StoreRequest) GetSpans ¶
func (m *StoreRequest) GetSpans() []*Span
func (*StoreRequest) ProtoMessage ¶
func (*StoreRequest) ProtoMessage()
func (*StoreRequest) Reset ¶
func (m *StoreRequest) Reset()
func (*StoreRequest) String ¶
func (m *StoreRequest) String() string
type StoreResponse ¶
type StoreResponse struct { }
func (*StoreResponse) Descriptor ¶
func (*StoreResponse) Descriptor() ([]byte, []int)
func (*StoreResponse) ProtoMessage ¶
func (*StoreResponse) ProtoMessage()
func (*StoreResponse) Reset ¶
func (m *StoreResponse) Reset()
func (*StoreResponse) String ¶
func (m *StoreResponse) String() string
type StorerClient ¶
type StorerClient interface {
Store(ctx context.Context, in *StoreRequest, opts ...grpc.CallOption) (*StoreResponse, error)
}
func NewStorerClient ¶
func NewStorerClient(cc *grpc.ClientConn) StorerClient
type StorerServer ¶
type StorerServer interface {
Store(context.Context, *StoreRequest) (*StoreResponse, error)
}
type Tag ¶
type Tag struct { Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` // FIXME support non-string values Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` Time *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=time" json:"time,omitempty"` }
func (*Tag) Descriptor ¶
func (*Tag) GetTime ¶
func (m *Tag) GetTime() *google_protobuf.Timestamp
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.