Documentation ¶
Index ¶
- func RegisterIngestServiceServer(s *grpc.Server, srv IngestServiceServer)
- type AttributeValue
- func (*AttributeValue) Descriptor() ([]byte, []int)
- func (m *AttributeValue) GetBoolValue() bool
- func (m *AttributeValue) GetDoubleValue() float64
- func (m *AttributeValue) GetIntValue() int64
- func (m *AttributeValue) GetStringValue() string
- func (m *AttributeValue) GetValue() isAttributeValue_Value
- func (*AttributeValue) ProtoMessage()
- func (m *AttributeValue) Reset()
- func (m *AttributeValue) String() string
- func (m *AttributeValue) XXX_DiscardUnknown()
- func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttributeValue) XXX_Merge(src proto.Message)
- func (*AttributeValue) XXX_OneofWrappers() []interface{}
- func (m *AttributeValue) XXX_Size() int
- func (m *AttributeValue) XXX_Unmarshal(b []byte) error
- type AttributeValue_BoolValue
- type AttributeValue_DoubleValue
- type AttributeValue_IntValue
- type AttributeValue_StringValue
- type IngestServiceClient
- type IngestServiceServer
- type IngestService_RecordSpanBatchClient
- type IngestService_RecordSpanBatchServer
- type IngestService_RecordSpanClient
- type IngestService_RecordSpanServer
- type RecordStatus
- func (*RecordStatus) Descriptor() ([]byte, []int)
- func (m *RecordStatus) GetMessagesSeen() uint64
- func (*RecordStatus) ProtoMessage()
- func (m *RecordStatus) Reset()
- func (m *RecordStatus) String() string
- func (m *RecordStatus) XXX_DiscardUnknown()
- func (m *RecordStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordStatus) XXX_Merge(src proto.Message)
- func (m *RecordStatus) XXX_Size() int
- func (m *RecordStatus) XXX_Unmarshal(b []byte) error
- type Span
- func (*Span) Descriptor() ([]byte, []int)
- func (m *Span) GetAgentAttributes() map[string]*AttributeValue
- func (m *Span) GetIntrinsics() map[string]*AttributeValue
- func (m *Span) GetTraceId() string
- func (m *Span) GetUserAttributes() map[string]*AttributeValue
- func (*Span) ProtoMessage()
- func (m *Span) Reset()
- func (m *Span) String() string
- func (m *Span) XXX_DiscardUnknown()
- func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Span) XXX_Merge(src proto.Message)
- func (m *Span) XXX_Size() int
- func (m *Span) XXX_Unmarshal(b []byte) error
- type SpanBatch
- func (*SpanBatch) Descriptor() ([]byte, []int)
- func (m *SpanBatch) GetSpans() []*Span
- func (*SpanBatch) ProtoMessage()
- func (m *SpanBatch) Reset()
- func (m *SpanBatch) String() string
- func (m *SpanBatch) XXX_DiscardUnknown()
- func (m *SpanBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpanBatch) XXX_Merge(src proto.Message)
- func (m *SpanBatch) XXX_Size() int
- func (m *SpanBatch) XXX_Unmarshal(b []byte) error
- type UnimplementedIngestServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterIngestServiceServer ¶
func RegisterIngestServiceServer(s *grpc.Server, srv IngestServiceServer)
Types ¶
type AttributeValue ¶
type AttributeValue struct { // Types that are valid to be assigned to Value: // *AttributeValue_StringValue // *AttributeValue_BoolValue // *AttributeValue_IntValue // *AttributeValue_DoubleValue Value isAttributeValue_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttributeValue) Descriptor ¶
func (*AttributeValue) Descriptor() ([]byte, []int)
func (*AttributeValue) GetBoolValue ¶
func (m *AttributeValue) GetBoolValue() bool
func (*AttributeValue) GetDoubleValue ¶
func (m *AttributeValue) GetDoubleValue() float64
func (*AttributeValue) GetIntValue ¶
func (m *AttributeValue) GetIntValue() int64
func (*AttributeValue) GetStringValue ¶
func (m *AttributeValue) GetStringValue() string
func (*AttributeValue) GetValue ¶
func (m *AttributeValue) GetValue() isAttributeValue_Value
func (*AttributeValue) ProtoMessage ¶
func (*AttributeValue) ProtoMessage()
func (*AttributeValue) Reset ¶
func (m *AttributeValue) Reset()
func (*AttributeValue) String ¶
func (m *AttributeValue) String() string
func (*AttributeValue) XXX_DiscardUnknown ¶
func (m *AttributeValue) XXX_DiscardUnknown()
func (*AttributeValue) XXX_Marshal ¶
func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttributeValue) XXX_Merge ¶
func (m *AttributeValue) XXX_Merge(src proto.Message)
func (*AttributeValue) XXX_OneofWrappers ¶
func (*AttributeValue) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AttributeValue) XXX_Size ¶
func (m *AttributeValue) XXX_Size() int
func (*AttributeValue) XXX_Unmarshal ¶
func (m *AttributeValue) XXX_Unmarshal(b []byte) error
type AttributeValue_BoolValue ¶
type AttributeValue_BoolValue struct {
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type AttributeValue_DoubleValue ¶
type AttributeValue_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type AttributeValue_IntValue ¶
type AttributeValue_IntValue struct {
IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
}
type AttributeValue_StringValue ¶
type AttributeValue_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type IngestServiceClient ¶
type IngestServiceClient interface { // Accepts a stream of Span messages, and returns an irregular stream of // RecordStatus messages. RecordSpan(ctx context.Context, opts ...grpc.CallOption) (IngestService_RecordSpanClient, error) // Accepts a stream of SpanBatch messages, and returns an irregular // stream of RecordStatus messages. This endpoint can be used to improve // throughput when Span messages are small RecordSpanBatch(ctx context.Context, opts ...grpc.CallOption) (IngestService_RecordSpanBatchClient, error) }
IngestServiceClient is the client API for IngestService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIngestServiceClient ¶
func NewIngestServiceClient(cc grpc.ClientConnInterface) IngestServiceClient
type IngestServiceServer ¶
type IngestServiceServer interface { // Accepts a stream of Span messages, and returns an irregular stream of // RecordStatus messages. RecordSpan(IngestService_RecordSpanServer) error // Accepts a stream of SpanBatch messages, and returns an irregular // stream of RecordStatus messages. This endpoint can be used to improve // throughput when Span messages are small RecordSpanBatch(IngestService_RecordSpanBatchServer) error }
IngestServiceServer is the server API for IngestService service.
type IngestService_RecordSpanBatchClient ¶
type IngestService_RecordSpanBatchClient interface { Send(*SpanBatch) error Recv() (*RecordStatus, error) grpc.ClientStream }
type IngestService_RecordSpanBatchServer ¶
type IngestService_RecordSpanBatchServer interface { Send(*RecordStatus) error Recv() (*SpanBatch, error) grpc.ServerStream }
type IngestService_RecordSpanClient ¶
type IngestService_RecordSpanClient interface { Send(*Span) error Recv() (*RecordStatus, error) grpc.ClientStream }
type IngestService_RecordSpanServer ¶
type IngestService_RecordSpanServer interface { Send(*RecordStatus) error Recv() (*Span, error) grpc.ServerStream }
type RecordStatus ¶
type RecordStatus struct { MessagesSeen uint64 `protobuf:"varint,1,opt,name=messages_seen,json=messagesSeen,proto3" json:"messages_seen,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RecordStatus) Descriptor ¶
func (*RecordStatus) Descriptor() ([]byte, []int)
func (*RecordStatus) GetMessagesSeen ¶
func (m *RecordStatus) GetMessagesSeen() uint64
func (*RecordStatus) ProtoMessage ¶
func (*RecordStatus) ProtoMessage()
func (*RecordStatus) Reset ¶
func (m *RecordStatus) Reset()
func (*RecordStatus) String ¶
func (m *RecordStatus) String() string
func (*RecordStatus) XXX_DiscardUnknown ¶
func (m *RecordStatus) XXX_DiscardUnknown()
func (*RecordStatus) XXX_Marshal ¶
func (m *RecordStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecordStatus) XXX_Merge ¶
func (m *RecordStatus) XXX_Merge(src proto.Message)
func (*RecordStatus) XXX_Size ¶
func (m *RecordStatus) XXX_Size() int
func (*RecordStatus) XXX_Unmarshal ¶
func (m *RecordStatus) XXX_Unmarshal(b []byte) error
type Span ¶
type Span struct { TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` Intrinsics map[string]*AttributeValue `` /* 161-byte string literal not displayed */ UserAttributes map[string]*AttributeValue `` /* 191-byte string literal not displayed */ AgentAttributes map[string]*AttributeValue `` /* 194-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Span) Descriptor ¶
func (*Span) GetAgentAttributes ¶
func (m *Span) GetAgentAttributes() map[string]*AttributeValue
func (*Span) GetIntrinsics ¶
func (m *Span) GetIntrinsics() map[string]*AttributeValue
func (*Span) GetTraceId ¶
func (*Span) GetUserAttributes ¶
func (m *Span) GetUserAttributes() map[string]*AttributeValue
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) XXX_DiscardUnknown ¶
func (m *Span) XXX_DiscardUnknown()
func (*Span) XXX_Unmarshal ¶
type SpanBatch ¶
type SpanBatch struct { Spans []*Span `protobuf:"bytes,1,rep,name=spans,proto3" json:"spans,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SpanBatch) Descriptor ¶
func (*SpanBatch) ProtoMessage ¶
func (*SpanBatch) ProtoMessage()
func (*SpanBatch) XXX_DiscardUnknown ¶
func (m *SpanBatch) XXX_DiscardUnknown()
func (*SpanBatch) XXX_Marshal ¶
func (*SpanBatch) XXX_Unmarshal ¶
type UnimplementedIngestServiceServer ¶
type UnimplementedIngestServiceServer struct { }
UnimplementedIngestServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedIngestServiceServer) RecordSpan ¶
func (*UnimplementedIngestServiceServer) RecordSpan(srv IngestService_RecordSpanServer) error
func (*UnimplementedIngestServiceServer) RecordSpanBatch ¶
func (*UnimplementedIngestServiceServer) RecordSpanBatch(srv IngestService_RecordSpanBatchServer) error
Click to show internal directories.
Click to hide internal directories.