tracer

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg *Config) (err error)

func StartSpan

func StartSpan(ctx context.Context, name string, attributes map[string]string) (context.Context, trace.Span)

Types

type Config

type Config struct {
	// please provide JaegerCollectorURL if jaeger is used
	UseJaeger          bool
	JaegerCollectorURL string
	Environment        string
	ServiceName        string
}

Jump to

Keyboard shortcuts

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