Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetComponent ¶
func SpanContextFromOTEL ¶
func SpanContextFromOTEL(otelSpan trace.SpanContext) *core.SpanContext
Types ¶
type Attribute ¶
type Attribute struct {
// contains filtered or unexported fields
}
func SpanAttribute ¶
type Span ¶
type Span struct {
// contains filtered or unexported fields
}
func StartSpan ¶
func StartSpan(name string, traceParent *core.SpanContext, attrs ...Attribute) *Span
func (*Span) SpanContext ¶
func (s *Span) SpanContext() *core.SpanContext
Click to show internal directories.
Click to hide internal directories.