otel

package
v7.6.156 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: GPL-3.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(cfg *Config)

func ConfigureOnce added in v7.6.134

func ConfigureOnce(cfg *Config, name string)

ConfigureOnce is used to prevent reinitialization of OpenTelemetry by later arriving configurations

func Stop

func Stop()

Types

type Config

type Config struct {
	Endpoint      string
	Headers       map[string]string
	SampleRate    uint32
	OpSampleRates map[string]uint32
}

Jump to

Keyboard shortcuts

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