opentracing

package
v0.0.0-...-b40c5a5 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context, name string) opentracing.Span

FromContext creates a span from a context that contains a parent span

func ToContext

func ToContext(r *http.Request, span opentracing.Span) *http.Request

ToContext sets a span to a context

Types

type Tracing

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

Tracing is the tracing functionality

func New

func New(config config.Tracing) *Tracing

New creates a new instance of Tracing

func (*Tracing) Close

func (t *Tracing) Close()

Close tracer

func (*Tracing) Setup

func (t *Tracing) Setup()

Setup a tracer based on the configuration provided

Jump to

Keyboard shortcuts

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