telemetry

package
v0.1.29 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

func Initialize

func Initialize(logger *zap.SugaredLogger)

func InitializeIfNeeded

func InitializeIfNeeded(enabled bool, logger *zap.SugaredLogger) bool

func StartSpan

func StartSpan(ctx context.Context, tracerKey string, spanName string) (context.Context, trace.Span)

Types

type ErrHandler

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

func (*ErrHandler) Handle

func (e *ErrHandler) Handle(err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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