trace

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUnknownExporter is returned when an exporter is not implemented.
	ErrUnknownExporter = errors.New("exporter provided in configuration is unknown")
)

Functions

func NewExporter

func NewExporter(cfg *configs.App) (tracesdk.SpanExporter, error)

func NewProvider

func NewProvider(
	cfg *configs.App,
	exporter tracesdk.SpanExporter,
) (*tracesdk.TracerProvider, error)

func RunProvider

func RunProvider(tracerProvider *tracesdk.TracerProvider)

Types

This section is empty.

Jump to

Keyboard shortcuts

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