Documentation ¶
Index ¶
- type Event
- type Span
- func (s *Span) AddEvent(name string, opts ...tracer.EventOption)
- func (s *Span) AddLabels(kv ...interface{})
- func (s *Span) AddLogs(kv ...interface{})
- func (s *Span) Context() context.Context
- func (s *Span) Finish(_ ...tracer.SpanOption)
- func (s *Span) Kind() tracer.SpanKind
- func (s *Span) SetName(name string)
- func (s *Span) SetStatus(st tracer.SpanStatus, msg string)
- func (s *Span) SpanID() string
- func (s *Span) Status() (tracer.SpanStatus, string)
- func (s *Span) TraceID() string
- func (s *Span) Tracer() tracer.Tracer
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Span ¶
type Span struct {
// contains filtered or unexported fields
}
func (*Span) Finish ¶
func (s *Span) Finish(_ ...tracer.SpanOption)
Click to show internal directories.
Click to hide internal directories.