Documentation
¶
Index ¶
- Variables
- type Span
- func (*Span) Descriptor() ([]byte, []int)
- func (m *Span) GetBaggage() map[string]string
- func (m *Span) GetParentId() uint64
- func (m *Span) GetPayload() *types.Any
- func (m *Span) GetSpanId() uint64
- func (m *Span) GetTraceId() Span_TraceID
- func (m *Span) Marshal() (dAtA []byte, err error)
- func (m *Span) MarshalTo(dAtA []byte) (int, error)
- func (m *Span) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Span) ProtoMessage()
- func (m *Span) Reset()
- func (m *Span) Size() (n int)
- func (m *Span) String() string
- func (m *Span) Unmarshal(dAtA []byte) error
- func (m *Span) Validate() error
- 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 (*Span) XXX_MessageName() string
- func (m *Span) XXX_Size() int
- func (m *Span) XXX_Unmarshal(b []byte) error
- type SpanValidationError
- type Span_TraceID
- func (*Span_TraceID) Descriptor() ([]byte, []int)
- func (m *Span_TraceID) Marshal() (dAtA []byte, err error)
- func (m *Span_TraceID) MarshalTo(dAtA []byte) (int, error)
- func (m *Span_TraceID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Span_TraceID) ProtoMessage()
- func (m *Span_TraceID) Reset()
- func (m *Span_TraceID) Size() (n int)
- func (m *Span_TraceID) String() string
- func (m *Span_TraceID) Unmarshal(dAtA []byte) error
- func (m *Span_TraceID) Validate() error
- func (m *Span_TraceID) XXX_DiscardUnknown()
- func (m *Span_TraceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Span_TraceID) XXX_Merge(src proto.Message)
- func (*Span_TraceID) XXX_MessageName() string
- func (m *Span_TraceID) XXX_Size() int
- func (m *Span_TraceID) XXX_Unmarshal(b []byte) error
- type Span_TraceIDValidationError
- func (e Span_TraceIDValidationError) Cause() error
- func (e Span_TraceIDValidationError) Error() string
- func (e Span_TraceIDValidationError) ErrorName() string
- func (e Span_TraceIDValidationError) Field() string
- func (e Span_TraceIDValidationError) Key() bool
- func (e Span_TraceIDValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Span ¶
type Span struct { TraceId Span_TraceID `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id"` SpanId uint64 `protobuf:"varint,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` ParentId uint64 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Flags byte `protobuf:"varint,4,opt,name=flags,proto3,customtype=byte" json:"flags"` Baggage map[string]string `` /* 155-byte string literal not displayed */ Payload *types.Any `protobuf:"bytes,10,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Span) Descriptor ¶
func (*Span) GetBaggage ¶
func (*Span) GetParentId ¶
func (*Span) GetPayload ¶
func (*Span) GetTraceId ¶
func (m *Span) GetTraceId() Span_TraceID
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) Validate ¶
Validate checks the field values on Span with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Span) XXX_DiscardUnknown ¶
func (m *Span) XXX_DiscardUnknown()
func (*Span) XXX_MessageName ¶
func (*Span) XXX_Unmarshal ¶
type SpanValidationError ¶
type SpanValidationError struct {
// contains filtered or unexported fields
}
SpanValidationError is the validation error returned by Span.Validate if the designated constraints aren't met.
func (SpanValidationError) Cause ¶
func (e SpanValidationError) Cause() error
Cause function returns cause value.
func (SpanValidationError) Error ¶
func (e SpanValidationError) Error() string
Error satisfies the builtin error interface
func (SpanValidationError) ErrorName ¶
func (e SpanValidationError) ErrorName() string
ErrorName returns error name.
func (SpanValidationError) Field ¶
func (e SpanValidationError) Field() string
Field function returns field value.
func (SpanValidationError) Key ¶
func (e SpanValidationError) Key() bool
Key function returns key value.
func (SpanValidationError) Reason ¶
func (e SpanValidationError) Reason() string
Reason function returns reason value.
type Span_TraceID ¶
type Span_TraceID struct { Low uint64 `protobuf:"varint,1,opt,name=Low,proto3" json:"Low,omitempty"` High uint64 `protobuf:"varint,2,opt,name=High,proto3" json:"High,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Span_TraceID) Descriptor ¶
func (*Span_TraceID) Descriptor() ([]byte, []int)
func (*Span_TraceID) Marshal ¶
func (m *Span_TraceID) Marshal() (dAtA []byte, err error)
func (*Span_TraceID) MarshalToSizedBuffer ¶
func (m *Span_TraceID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Span_TraceID) ProtoMessage ¶
func (*Span_TraceID) ProtoMessage()
func (*Span_TraceID) Reset ¶
func (m *Span_TraceID) Reset()
func (*Span_TraceID) Size ¶
func (m *Span_TraceID) Size() (n int)
func (*Span_TraceID) String ¶
func (m *Span_TraceID) String() string
func (*Span_TraceID) Unmarshal ¶
func (m *Span_TraceID) Unmarshal(dAtA []byte) error
func (*Span_TraceID) Validate ¶
func (m *Span_TraceID) Validate() error
Validate checks the field values on Span_TraceID with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Span_TraceID) XXX_DiscardUnknown ¶
func (m *Span_TraceID) XXX_DiscardUnknown()
func (*Span_TraceID) XXX_Marshal ¶
func (m *Span_TraceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Span_TraceID) XXX_Merge ¶
func (m *Span_TraceID) XXX_Merge(src proto.Message)
func (*Span_TraceID) XXX_MessageName ¶
func (*Span_TraceID) XXX_MessageName() string
func (*Span_TraceID) XXX_Size ¶
func (m *Span_TraceID) XXX_Size() int
func (*Span_TraceID) XXX_Unmarshal ¶
func (m *Span_TraceID) XXX_Unmarshal(b []byte) error
type Span_TraceIDValidationError ¶
type Span_TraceIDValidationError struct {
// contains filtered or unexported fields
}
Span_TraceIDValidationError is the validation error returned by Span_TraceID.Validate if the designated constraints aren't met.
func (Span_TraceIDValidationError) Cause ¶
func (e Span_TraceIDValidationError) Cause() error
Cause function returns cause value.
func (Span_TraceIDValidationError) Error ¶
func (e Span_TraceIDValidationError) Error() string
Error satisfies the builtin error interface
func (Span_TraceIDValidationError) ErrorName ¶
func (e Span_TraceIDValidationError) ErrorName() string
ErrorName returns error name.
func (Span_TraceIDValidationError) Field ¶
func (e Span_TraceIDValidationError) Field() string
Field function returns field value.
func (Span_TraceIDValidationError) Key ¶
func (e Span_TraceIDValidationError) Key() bool
Key function returns key value.
func (Span_TraceIDValidationError) Reason ¶
func (e Span_TraceIDValidationError) Reason() string
Reason function returns reason value.