tracing

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultJaegerEndpoint = "http://localhost:14268/api/traces"
)

Variables

This section is empty.

Functions

func SetupJaegerExporter

func SetupJaegerExporter(url string) (sdktrace.SpanExporter, error)

func SetupNilExporter

func SetupNilExporter() sdktrace.SpanExporter

SetupNilExporter is the nil version of SpanExporter to prevent import of otel in other package for type

func SetupTracing

func SetupTracing(exp sdktrace.SpanExporter, service string, environment string, version string) (func(), error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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