impl

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfiguration = errors.New("jaeger tracer: configuration error")

ErrConfiguration is the base exception for tracing configuration errors.

View Source
var IsSampled = func(span opentracing.Span) bool {
	spanContext := span.Context()

	if spanSampler, ok := spanContext.(samplingChecker); ok {
		return spanSampler.IsSampled()
	}

	return false
}

Functions

func New

func New(driverName string, config map[string]string) (opentracing.Tracer, io.Closer, error)

New will instantiate a new instance of the tracer, given the driver and configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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