otel

package
v0.46.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetObservabilityConfig

func GetObservabilityConfig(ctx context.Context) (*observability.Config, error)

GetObservabilityConfig gets the observability config from the (in order): 1. provided context, 2. reading from the API server, 3. defaults (if not found).

func SetupObservabilityOrDie

func SetupObservabilityOrDie(
	ctx context.Context,
	component string,
	logger *zap.SugaredLogger,
	pprof *k8sruntime.ProfilingServer,
) (*metrics.MeterProvider, *tracing.TracerProvider)

SetupObservabilityOrDie sets up the observability using the config from the given context or dies by calling log.Fatalf.

Types

This section is empty.

Jump to

Keyboard shortcuts

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