Documentation ¶
Index ¶
- type Span
- func (e *Span) End(options ...trace.SpanEndOption)
- func (e *Span) EndWithStatus(err error, options ...trace.SpanEndOption)
- func (e *Span) IsRecording() bool
- func (s *Span) SetAttributes(kv ...attribute.KeyValue)
- func (s *Span) SetName(name string)
- func (s *Span) SetStatus(code codes.Code, description string)
- func (s *Span) SpanContext() trace.SpanContext
- func (s *Span) TracerProvider() trace.TracerProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Span ¶
func (*Span) End ¶
func (e *Span) End(options ...trace.SpanEndOption)
func (*Span) EndWithStatus ¶
func (e *Span) EndWithStatus(err error, options ...trace.SpanEndOption)
func (*Span) IsRecording ¶
func (*Span) SetAttributes ¶
SetAttributes implements tracing.Span
func (*Span) SpanContext ¶
func (s *Span) SpanContext() trace.SpanContext
SpanContext implements tracing.Span
func (*Span) TracerProvider ¶
func (s *Span) TracerProvider() trace.TracerProvider
TracerProvider implements tracing.Span
Click to show internal directories.
Click to hide internal directories.