Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer(opts ...trace.Option) trace.Tracer

Types

type Tracer

type Tracer struct {

	// contains filtered or unexported fields

}

func (*Tracer) Finish

func (t *Tracer) Finish(s *trace.Span) error

func (*Tracer) Read

func (t *Tracer) Read(opts ...trace.ReadOption) ([]*trace.Span, error)

func (*Tracer) Start

func (t *Tracer) Start(ctx context.Context, name string) (context.Context, *trace.Span)

Source Files