obs

package
v0.0.0-...-d9b5379 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTracing

func InitTracing() func(context.Context) error

func LoggerTags

func LoggerTags(ctx context.Context) map[string]any

func SetSpanAttribute

func SetSpanAttribute(ctx context.Context, key string, value string)

func ShutdownTracing

func ShutdownTracing()

func Spanned

func Spanned(current context.Context, name string,
	f func(context.Context) error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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