instrumentation

package
v0.0.0-...-72481b2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNewTracerProvider

func MustNewTracerProvider(enabled bool, cfg TracerConfig) shutdownFunc

func TraceError

func TraceError(span trace.Span, err error)

Types

type TracerConfig

type TracerConfig struct {
	ServiceName    string
	ServiceVersion string
	Environment    string
	Endpoint       string
	SampleRatio    float64
}

Jump to

Keyboard shortcuts

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