Documentation ¶
Index ¶
- func NewProvider() trace.TracerProvider
- func NewRand(seed int64) *rand.Rand
- type LogSpan
- func (s *LogSpan) AddEvent(_ string, _ ...trace.EventOption)
- func (s *LogSpan) End(_ ...trace.SpanEndOption)
- func (s *LogSpan) IsRecording() bool
- func (s *LogSpan) RecordError(_ error, _ ...trace.EventOption)
- func (s *LogSpan) SetAttributes(_ ...attribute.KeyValue)
- func (s *LogSpan) SetName(_ string)
- func (s *LogSpan) SetStatus(_ codes.Code, _ string)
- func (s *LogSpan) SpanContext() trace.SpanContext
- func (s *LogSpan) TracerProvider() trace.TracerProvider
- type LogTraceProvider
- type LogTracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶ added in v0.15.0
func NewProvider() trace.TracerProvider
Types ¶
type LogSpan ¶
type LogSpan struct {
// contains filtered or unexported fields
}
func (*LogSpan) AddEvent ¶ added in v0.15.0
func (s *LogSpan) AddEvent(_ string, _ ...trace.EventOption)
func (*LogSpan) End ¶ added in v0.15.0
func (s *LogSpan) End(_ ...trace.SpanEndOption)
func (*LogSpan) IsRecording ¶ added in v0.15.0
func (*LogSpan) RecordError ¶ added in v0.15.0
func (s *LogSpan) RecordError(_ error, _ ...trace.EventOption)
func (*LogSpan) SetAttributes ¶ added in v0.15.0
func (*LogSpan) SpanContext ¶ added in v0.15.0
func (s *LogSpan) SpanContext() trace.SpanContext
func (*LogSpan) TracerProvider ¶ added in v0.15.0
func (s *LogSpan) TracerProvider() trace.TracerProvider
type LogTraceProvider ¶ added in v0.15.0
type LogTraceProvider struct{}
func (*LogTraceProvider) Tracer ¶ added in v0.15.0
func (p *LogTraceProvider) Tracer(_ string, _ ...trace.TracerOption) trace.Tracer
Click to show internal directories.
Click to hide internal directories.