tracing

package
v0.0.0-...-a470c86 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	// Middleware starts a root trace for each request.
	Middleware(log logger.Provider) echo.MiddlewareFunc

	StartSpan(c context.Context, operationName string) (opentracing.Span, context.Context)

	// Finsh span, primarily for mock purpose
	FinishSpan(span opentracing.Span)

	// Close io
	Close()
}

func NewMockProvider

func NewMockProvider() (Provider, error)

func NewProvider

func NewProvider(serviceName string, c config.Config) (Provider, error)

Jump to

Keyboard shortcuts

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