trace

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTracerInvalidAddressInitialization = errors.New("could not initialize a tracer without a URL")
View Source
var ErrTracerInvalidNameInitialization = errors.New("could not initialize a tracer with an empty name")

Functions

func NewTracer

func NewTracer(config *config.TracerConfig) (*trace.TracerProvider, error)

NewTracer initializes a new tracer.

func NewZipkinExporter

func NewZipkinExporter(url string, opts ...zipkin.Option) trace.SpanExporter

NewZipkingExporter creates a new zipkin exporter.

Types

type TracerType

type TracerType int
var (
	Default TracerType = 0
	Zipkin  TracerType = 1
)

Jump to

Keyboard shortcuts

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