otel

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContextBackground

func GetContextBackground(ctx context.Context) context.Context

func NewTracer

func NewTracer(opt *Options) (trace.TracerProvider, error)

func Tracer

func Tracer(ctx context.Context) (context.Context, trace.Span)

Types

type Options

type Options struct {
	AppName          string
	JaegerURL        string
	TracerSampleRate float64
}

Jump to

Keyboard shortcuts

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