Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PushConfig ¶
type SpanAttributes ¶
type SpanAttributes struct {
// contains filtered or unexported fields
}
func (*SpanAttributes) Set ¶
func (a *SpanAttributes) Set(s string) error
func (*SpanAttributes) String ¶
func (a *SpanAttributes) String() string
func (*SpanAttributes) Type ¶
func (a *SpanAttributes) Type() string
type SpanConfig ¶
type SpanConfig struct {
TraceID []byte
SpanID []byte
TraceState string
TraceParent TraceParent
Name string
StartTime SpanTime
EndTime SpanTime
Attributes SpanAttributes
Status struct {
Code StatusCode
Description string
}
BaseSpan *v1.Span
}
type StatusCode ¶
type StatusCode uint64
const ( StatusCodeUnset StatusCode = 0 StatusCodeOk StatusCode = 1 StatusCodeError StatusCode = 2 )
func (*StatusCode) Set ¶
func (m *StatusCode) Set(s string) error
func (*StatusCode) String ¶
func (m *StatusCode) String() string
func (*StatusCode) Type ¶
func (m *StatusCode) Type() string
type TraceParent ¶
type TraceParent struct {
Version byte
TraceID [16]byte
ParentID [8]byte
TraceFlags byte
// contains filtered or unexported fields
}
func (*TraceParent) IsValid ¶
func (t *TraceParent) IsValid() bool
func (*TraceParent) Set ¶
func (t *TraceParent) Set(s string) error
func (*TraceParent) String ¶
func (t *TraceParent) String() string
func (*TraceParent) Type ¶
func (v *TraceParent) Type() string
Click to show internal directories.
Click to hide internal directories.