logtracer

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider added in v0.15.0

func NewProvider() trace.TracerProvider

func NewRand added in v0.14.4

func NewRand(seed int64) *rand.Rand

NewRand returns a rand.Rand that is threadsafe.

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 (s *LogSpan) IsRecording() bool

func (*LogSpan) RecordError added in v0.15.0

func (s *LogSpan) RecordError(_ error, _ ...trace.EventOption)

func (*LogSpan) SetAttributes added in v0.15.0

func (s *LogSpan) SetAttributes(_ ...attribute.KeyValue)

func (*LogSpan) SetName added in v0.15.0

func (s *LogSpan) SetName(_ string)

func (*LogSpan) SetStatus added in v0.15.0

func (s *LogSpan) SetStatus(_ codes.Code, _ string)

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

type LogTracer

type LogTracer struct {
	// contains filtered or unexported fields
}

func (*LogTracer) Start added in v0.15.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL