instrumentation

package
v0.0.0-...-52de977 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNewTracerProvider

func MustNewTracerProvider(cfg TracerConfig) *sdktrace.TracerProvider

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