Versions in this module Expand all Collapse all v0 v0.0.1 May 9, 2023 Changes in this version + func NewSpan(ctx context.Context, cfg *SpanConfig) (*v1.Span, error) + func Push(ctx context.Context, cfg *PushConfig) error + type PushConfig struct + Mode PushMode + Span *v1.Span + type PushMode string + const PushModeOtlp + const PushModeOtlpHttp + const PushModeStdout + func (m *PushMode) Set(s string) error + func (m *PushMode) String() string + func (m *PushMode) Type() string + type SpanAttributes struct + func (a *SpanAttributes) Set(s string) error + func (a *SpanAttributes) String() string + func (a *SpanAttributes) Type() string + type SpanConfig struct + Attributes SpanAttributes + BaseSpan *v1.Span + EndTime SpanTime + Name string + SpanID []byte + StartTime SpanTime + Status struct{ ... } + TraceID []byte + TraceParent TraceParent + TraceState string + type SpanTime struct + func (v *SpanTime) Set(s string) error + func (v *SpanTime) String() string + func (v *SpanTime) Type() string + type StatusCode uint64 + const StatusCodeError + const StatusCodeOk + const StatusCodeUnset + func (m *StatusCode) Set(s string) error + func (m *StatusCode) String() string + func (m *StatusCode) Type() string + type TraceParent struct + ParentID [8]byte + TraceFlags byte + TraceID [16]byte + Version byte + func (t *TraceParent) IsValid() bool + func (t *TraceParent) Set(s string) error + func (t *TraceParent) String() string + func (v *TraceParent) Type() string