trace

package
v0.5.0-beta5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHttpOpenTracingOptions

func GetHttpOpenTracingOptions(componentName string) []opentracingHttp.MWOption

func TracingHttpHandler

func TracingHttpHandler(componentName string, handler http.Handler) http.Handler

Types

type Tracer

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

func TracerFromEnv

func TracerFromEnv(serviceName string, logger *zap.Logger, reporter *health.StatusReporter) *Tracer

func (*Tracer) CloseWithContext

func (tracer *Tracer) CloseWithContext(ctx context.Context) error

func (*Tracer) Start

func (tracer *Tracer) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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